| Current Path : /home/jeromecohp/www/templates/yootheme/cache/ |
| Current File : /home/jeromecohp/www/templates/yootheme/cache/element-ca41e0bd.php |
<?php // $file = /home/jeromecohp/v3/plugins/system/fs_grid/element/fs_grid_item/element.json
return [
'@import' => $filter->apply('path', './element.php', $file),
'name' => 'fs_grid_item',
'title' => 'Item',
'width' => 500,
'placeholder' => [
'props' => [
'title' => 'Title',
'meta' => 'Lorem ipsum dolor sit amet',
'content' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.',
'custom_text_1' => '1',
'custom_text_2' => '2',
'custom_text_3' => '3',
'custom_text_4' => '4',
'custom_text_5' => '5',
'custom_text_6' => '6',
'custom_text_7' => '7',
'custom_text_8' => '8',
'custom_text_9' => '9',
'custom_text_10' => '10',
'image' => '',
'icon' => ''
]
],
'templates' => [
'render' => $filter->apply('path', './templates/template.php', $file),
'content' => $filter->apply('path', './templates/content.php', $file)
],
'fields' => [
'title' => [
'label' => 'Title',
'source' => true
],
'meta' => [
'label' => 'Meta',
'source' => true
],
'content' => [
'label' => 'Content',
'type' => 'editor',
'source' => true
],
'custom_text_1' => [
'type' => 'text',
'label' => 'Text #1',
'source' => true
],
'custom_text_2' => [
'type' => 'text',
'label' => 'Text #2',
'source' => true
],
'custom_text_3' => [
'type' => 'text',
'label' => 'Text #3',
'source' => true
],
'custom_text_4' => [
'type' => 'text',
'label' => 'Text #4',
'source' => true
],
'custom_text_5' => [
'type' => 'text',
'label' => 'Text #5',
'source' => true
],
'custom_text_6' => [
'type' => 'text',
'label' => 'Text #6',
'source' => true
],
'custom_text_7' => [
'type' => 'text',
'label' => 'Text #7',
'source' => true
],
'custom_text_8' => [
'type' => 'text',
'label' => 'Text #8',
'source' => true
],
'custom_text_9' => [
'type' => 'text',
'label' => 'Text #9',
'source' => true
],
'custom_text_10' => [
'type' => 'text',
'label' => 'Text #10',
'source' => true
],
'image' => $config->get('builder.image'),
'image_alt' => [
'label' => 'Image Alt',
'source' => true,
'enable' => 'image'
],
'image_title' => [
'label' => 'Image Title',
'source' => true,
'enable' => 'image'
],
'icon' => [
'label' => 'Icon',
'description' => 'Instead of using a custom image, you can click on the pencil to pick an icon from the icon library.',
'type' => 'icon',
'source' => true,
'enable' => '!image'
],
'link' => $config->get('builder.link'),
'link_text' => [
'label' => 'Link Text',
'description' => 'Set a different link text for this item.',
'source' => true,
'enable' => 'link'
],
'link_title' => [
'label' => 'Link Title',
'description' => 'Describe the purpose of the link.',
'source' => true,
'enable' => 'link'
],
'link_aria_label' => [
'label' => 'Link ARIA Label',
'description' => 'Set a different link ARIA label for this item.',
'source' => true,
'enable' => 'link'
],
'tags' => [
'label' => 'Tags',
'description' => 'Enter a comma-separated list of tags, for example, <code>blue, white, black</code>.',
'source' => true
],
'panel_style' => [
'label' => 'Style',
'description' => 'Select one of the boxed card or tile styles or a blank panel.',
'type' => 'select',
'options' => [
'None' => '',
'Card Default' => 'card-default',
'Card Primary' => 'card-primary',
'Card Secondary' => 'card-secondary',
'Card Hover' => 'card-hover',
'Tile Default' => 'tile-default',
'Tile Muted' => 'tile-muted',
'Tile Primary' => 'tile-primary',
'Tile Secondary' => 'tile-secondary'
]
],
'item_element' => $config->get('builder.html_element_item'),
'lightbox_image_focal_point' => [
'label' => 'Image Focal Point',
'description' => 'Set a focal point to adjust the image focus when cropping.',
'type' => 'select',
'options' => [
'Top Left' => 'top-left',
'Top Center' => 'top-center',
'Top Right' => 'top-right',
'Center Left' => 'center-left',
'Center Center' => '',
'Center Right' => 'center-right',
'Bottom Left' => 'bottom-left',
'Bottom Center' => 'bottom-center',
'Bottom Right' => 'bottom-right'
],
'source' => true
],
'image_focal_point' => [
'label' => 'Focal Point',
'description' => 'Set a focal point to adjust the image focus when cropping.',
'type' => 'select',
'options' => [
'Top Left' => 'top-left',
'Top Center' => 'top-center',
'Top Right' => 'top-right',
'Center Left' => 'center-left',
'Center Center' => '',
'Center Right' => 'center-right',
'Bottom Left' => 'bottom-left',
'Bottom Center' => 'bottom-center',
'Bottom Right' => 'bottom-right'
],
'source' => true,
'enable' => 'image'
],
'item_id' => [
'type' => 'text',
'label' => 'Item ID',
'description' => 'Define a unique identifier for the item.',
'source' => true
],
'item_class' => [
'type' => 'text',
'label' => 'Item Classes',
'description' => 'Define one or more class names for the item. Separate multiple classes with spaces.',
'source' => true
],
'item_attrs_tag' => [
'label' => 'Item Attributes',
'description' => 'Define one or more attributes for the item. Separate attribute name and value by <code>=</code> character. One attribute per line.',
'type' => 'editor',
'editor' => 'code',
'source' => true
],
'status' => $config->get('builder.statusItem'),
'source' => $config->get('builder.source')
],
'fieldset' => [
'default' => [
'type' => 'tabs',
'fields' => [[
'title' => 'Content',
'fields' => ['title', 'meta', 'content', 'custom_text_1', 'custom_text_2', 'custom_text_3', 'custom_text_4', 'custom_text_5', 'custom_text_6', 'custom_text_7', 'custom_text_8', 'custom_text_9', 'custom_text_10', 'image', 'image_alt', 'image_title', 'icon', 'link', 'link_text', 'link_title', 'link_aria_label', 'tags']
], [
'title' => 'Settings',
'fields' => [[
'label' => 'Panel',
'type' => 'group',
'divider' => true,
'fields' => ['panel_style', 'item_element']
], [
'label' => 'Lightbox',
'type' => 'group',
'divider' => true,
'fields' => ['lightbox_image_focal_point']
], [
'label' => 'Image',
'type' => 'group',
'divider' => true,
'fields' => ['image_focal_point']
]]
], [
'title' => 'Advanced',
'fields' => ['status', 'source', 'item_id', 'item_class', 'item_attrs_tag']
]]
]
]
];