<?php
return array(
    "type" => "default_template_configuration",
    "model" => "DefaultTemplateConfiguration",
    "label" => "Default Template Configuration",
    "label_singular" => "Default Template Configuration",
    "parent" => array(
        "field" => "entry_id",
        "contentType" => "page"
    ),
    "group" => "none",
    "template" => false,
    "order" => false,
    "websites" => array(1),
    "shareable" => "none",
    "fields" => array(
        array(
            "name" => "clients_bar",
            "label" => "Include Clients Bar?",
            "type" => "selectBox",
            "list" => array(
                "0" => "No",
                "1" => "Yes"
            ),
            "preValidation" => "trim",
            "validation" => "in:0,1"
        ),
        array(
            "name" => "clients_bar_title",
            "label" => "Clients Bar Title",
            "type" => "textBox",
            "maxLength" => 100,
            "multiLanguage" => true,
            "preValidation" => "strip_tags|xss_clean|trim",
            "validation" => "max:100",
            "parent" => array(
                "name" => "clients_bar",
                "values" => array("1")
            )
        ),
        array(
            "name" => "clients_bar_content",
            "label" => "Clients Bar Description",
            "type" => "editor",
            "multiLanguage" => true,
            "preValidation" => "trim|xss_clean",
            "validation" => "",
            "parent" => array(
                "name" => "clients_bar",
                "values" => array("1")
            )
        ),
        array(
            "name" => "call_to_action",
            "label" => "call to action",
            "type" => "link",
            "multiLanguage" => true,
            "required" => false,
            "maxLabel" => 30,
            "objectTypes" => array("project", "page", "solution", "case_study"),
            "parent" => array(
                "name" => "clients_bar",
                "values" => array("1")
            )
        ),
        array(
            "name" => "logoLinks",
            "label" => "Logo Links",
            "type" => "multiplePicker",
            "websiteFiltered" => true,
            "objectTypes" => array("logo_link"),
            "order" => true,
            "parent" => array(
                "name" => "clients_bar",
                "values" => array("1")
            )
        ),
        array(
            "name" => "sidebarWidgets",
            "label" => "Sidebar Widgets",
            "type" => "singlePicker",
            "objectType" => "sidebar_widget",
            "pivotTable" => "default_temp_conf_sb_widgets",
            "order" => true,
            "maxSize" => 20
        ),
        array(
            "name" => "recommend",
            "label" => "Also Recommended",
            "type" => "multiplePicker",
            "longList" => true,
            "websiteFiltered" => true,
            "objectTypes" => array("project", "solution", "case_study", "news", "content_snippet"),
            "order" => true
        ),
    ),
    "actions" => array(
        "insert", "edit", "delete"
    )
);
