Current File : /home/pacjaorg/www/km/templates/yootheme/cache/element-89a3e8cc.php |
<?php // $file = /home/pacjaorg/public_html/km/plugins/system/djclassifiedsyt/modules/builder-joomla-source/elements/classifieds-grid_item/element.json
return [
'@import' => $filter->apply('path', './element.php', $file),
'name' => 'classifieds-grid_item',
'title' => 'Item',
'width' => 500,
'placeholder' => [
'props' => [
'title' => 'Title',
'meta' => '',
'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.',
'image' => '',
'icon' => ''
]
],
'templates' => [
'render' => $filter->apply('path', './templates/template.php', $file),
'content' => $filter->apply('path', './templates/content.php', $file)
],
'fields' => [
'id' => [
'label' => 'ID',
'source' => true
],
'attributes' => [
'label' => 'Extra Fields',
'type' => 'content-items',
'item' => 'classifieds-attribute_item',
'show' => 'id'
],
'title' => [
'label' => 'Title',
'source' => true
],
'description' => [
'label' => 'Description',
'type' => 'editor',
'source' => true
],
'type' => [
'label' => 'Type',
'source' => true
],
'rating' => [
'label' => 'Rating',
'source' => true
],
'meta' => [
'label' => 'Meta',
'source' => true
],
'content' => [
'label' => 'Content',
'type' => 'editor',
'source' => true
],
'image' => $config->get('builder.image'),
'image_alt' => [
'label' => 'Image Alt',
'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'
],
'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'
]
],
'promotions' => [
'label' => 'Promotions',
'source' => true
],
'status' => $config->get('builder.statusItem'),
'source' => $config->get('builder.source')
],
'fieldset' => [
'default' => [
'type' => 'tabs',
'fields' => [[
'title' => 'Content',
'fields' => ['id', 'title', 'meta', 'type', 'rating', 'content', 'description', 'image', 'image_alt', 'icon', 'link', 'link_text', 'tags', 'attributes', 'promotions']
], [
'title' => 'Settings',
'fields' => [[
'label' => 'Panel',
'type' => 'group',
'fields' => ['panel_style']
]]
], $config->get('builder.advancedItem')]
]
]
];