# You must use a tab-size of 4 spaces to edit this file.
---
zenario_content_type_details:
    key:
        id: ''
        idFromOrganizer: ''
        openedFromCollectionButton: ''
    identifier:
        label: Content type
    hide_tab_bar: true
    tabs:
        details:
            edit_mode:
                priv: _PRIV_EDIT_CONTENT_TYPE
                enabled: true
            fields:
                tooltip_text:
                    label: ''
                    type: text
                    show_as_a_span: true
                module_id:
                    label: 'Module:'
                    readonly: true
                    pick_items:
                        path: zenario__modules/panels/modules
                        target_path: zenario__modules/panels/modules
                        min_path: zenario__modules/panels/modules
                        max_path: zenario__modules/panels/modules
                        disallow_refiners_looping_on_min_path: true
                content_type_name_en:
                    label: 'Name (singular):'
                    type: text
                    maxlength: "255"
                    validation:
                        required: Please enter a name.
                content_type_plural_en:
                    label: 'Name (plural):'
                    type: text
                    maxlength: "255"
                
                default_layout_id:
                    label: 'Default layout for new content items:'
                    pick_items:
                        path: ""
                        #target_path: zenario__layouts/panels/layouts
                        #min_path: zenario__layouts/panels/layouts
                        #max_path: zenario__layouts/panels/layouts
                        disallow_refiners_looping_on_min_path: true
                        one_to_one_choose_phrase: Choose layout
                        select_phrase: Select layout...
                        hide_remove_button: true
                
                default_permissions:
                    label: 'Default permissions for new content items:'
                    type: radios
                    values:
                        public:
                            label: Public, visible to everyone
                        logged_in:
                            label: Private, only show to extranet users
                
                prompt_to_create_a_menu_node:
                    label: 'Menu node policy:'
                    visible_if: tuix.key.id != 'html'
                    type: radios
                    values:
                        prompt:
                            label: |
                                Prompt the administrator to create a menu node, warn if they don't
                        dont_prompt:
                            disabled_if: tuix.key.id == 'html'
                            label: |
                                Don't prompt the administrator to create a menu node
                    value: prompt
                
                menu_node_position_edit:
                    visible_if: tuix.key.id != 'html'
                    label: 'Menu position:'
                    type: radios
                    values:
                        suggest:
                            label: Show suggested menu positions
                        force:
                            disabled_if: tuix.key.id == 'html'
                            label: Enforce menu positions - [[content_type_plural_en]] always go under the designated [[content_type_name_en]] menu node(s)
                    value: suggest
                
                hide_private_item:
                    label: 'Default privacy for menu nodes:'
                    type: select
                    values:
                        - 
                            ord: 0
                            label: Show to visitors and extranet users, even if the target content item is private
                        - 
                            ord: 1
                            label: Obey the privacy setting of the content item
                        - 
                            ord: 2
                            label: Show to visitors, hide from extranet users
                        - 
                            ord: 3
                            label: Only show to extranet users
                    side_note: >
                        If the linked-to content item is private, you can control
                        when the menu node is displayed.
                
                hide_menu_node:
                    label: 'Make menu node invisible'
                    type: checkbox
                    side_note: |
                        Make the auto-created menu node be invisible
                        (will appear in a breadcrumb trail but not in the menu navigation).
                        It can be made visible later.
                
                other_options:
                    label: |
                        Other options:

                auto_flag_feature_image:
                    label: 'Flag the first-uploaded image as the featured image'
                    type: checkbox
                    value: 1
                    side_note: |
                        When a content item has a featured image, that image can appear on a content summary list.
                        Check here to make the image first uploaded to a content item be made the featured image.
                
                enable_css_tab:
                    label: 'Enable editing of CSS class and page background for content item'
                    type: checkbox
                    onoff: true

                enable_categories:
                    label: 'Enable support for categories'
                    type: checkbox
                    onoff: true
                    side_note: |
                        When enabled, administrator will be able to assign content items of this content type to categories.
                        This is useful if you use a Content Summary List plugin, for example to make a list of recent news items.
                when_creating_put_title_in_body:
                    label: 'When creating a content item, copy the title into the content area'
                    type: checkbox
                    onoff: true
                
                description_field:
                    label: 'Enable description field'
                    type: checkbox
                    onoff: true
                    side_note: |
                        This allows administrators to enter a description meta tag for content items,
                        which is useful for giving search engines information about the page. 
                    redraw_onchange: true
                description_field_mandatory:
                    indent: 1
                    hide_if_previous_outdented_value_isnt: 1
                    type: checkbox
                    label: Mandatory
                keywords_field:
                    label: 'Enable keywords field'
                    type: checkbox
                    onoff: true
                    side_note: |
                        This allows administrators to enter a keywords meta tag for content items.
                        Search engines usually disregard this meta tag, but it can help with on-site searching.
                    redraw_onchange: true
                keywords_field_mandatory:
                    indent: 1
                    hide_if_previous_outdented_value_isnt: 1
                    type: checkbox
                    label: Mandatory
                release_date_field:
                    label: 'Enable release date field'
                    type: checkbox
                    onoff: true
                    side_note: |
                        This allows administrators to give content items a &quot;publication date&quot;.
                        This will appear on the page itself and in a Content Summary List that lists the content item
                        (subject to appropriate plugin settings).
                        Recommended for news, blog or other date-sensitive content.
                    redraw_onchange: true
                release_date_field_mandatory:
                    indent: 1
                    hide_if_previous_outdented_value_isnt: 1
                    type: checkbox
                    label: Mandatory
                    #This setting is hidden for HTML, Event, Document, Picture, Video and Audio content types.
                    redraw_onchange: true
                auto_set_release_date:
                    indent: 1
                    hide_if_previous_outdented_value_isnt: 1
                    label: |
                        If empty when publishing content item, auto-set to today's date
                    type: checkbox
                    visible_if: (lib.value('release_date_field') && !lib.value('release_date_field_mandatory'))
                writer_field:
                    label: 'Enable writer profile'
                    type: checkbox
                    onoff: true
                    side_note: "Allows administrators to save their name as writer of a content item (although the name may be edited). For example, use this for blog content items."
                    redraw_onchange: true
                writer_field_mandatory:
                    indent: 1
                    hide_if_previous_outdented_value_isnt: 1
                    type: checkbox
                    label: Mandatory
                summary_field:
                    label: 'Enable summary field'
                    type: checkbox
                    onoff: true
                    side_note: "This allows administrators to save a WYSIWYG summary of the content item. Summaries are usually displayed by Content Summary List plugins. For example, use this for showing a summary of a news content item."
                    redraw_onchange: true
                summary_field_mandatory:
                    indent: 1
                    hide_if_previous_outdented_value_isnt: 1
                    type: checkbox
                    label: Mandatory
                enable_summary_auto_update:
                    indent: 1
                    hide_if_previous_outdented_value_isnt: 1
                    type: checkbox
                    label: 'Enable auto-update of summaries'
                allow_pinned_content:
                    label: 'Allow content items to be pinned'
                    type: checkbox
                    onoff: true
                    side_note: 'Pinned content items always appear first on content summary lists.'
