Current File : /home/pacjaorg/www/km/templates/yootheme/cache/element-b801cae4.php |
<?php // $file = /home/pacjaorg/public_html/km/plugins/system/djclassifiedsyt/modules/builder-joomla-source/elements/classifieds-list_item/element.json
return [
'@import' => $filter->apply('path', './element.php', $file),
'name' => 'classifieds-list_item',
'title' => 'Item',
'width' => 500,
'placeholder' => [
'props' => [
'content' => 'Lorem ipsum dolor sit amet.',
'image' => '',
'icon' => ''
]
],
'templates' => [
'render' => $filter->apply('path', './templates/template.php', $file),
'content' => $filter->apply('path', './templates/content.php', $file)
],
'fields' => [
'label' => [
'label' => 'Label',
'type' => 'text',
'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'
],
'icon_color' => [
'label' => 'Icon Color',
'description' => 'Set the icon color.',
'type' => 'select',
'options' => [
'None' => '',
'Muted' => 'muted',
'Emphasis' => 'emphasis',
'Primary' => 'primary',
'Secondary' => 'secondary',
'Success' => 'success',
'Warning' => 'warning',
'Danger' => 'danger'
],
'enable' => '!image'
],
'link' => $config->get('builder.link'),
'link_target' => $config->get('builder.link_target'),
'status' => $config->get('builder.statusItem'),
'source' => $config->get('builder.source')
],
'fieldset' => [
'default' => [
'type' => 'tabs',
'fields' => [[
'title' => 'Content',
'fields' => ['label', 'content', 'image', 'image_alt', 'icon', 'icon_color', 'link', 'link_target']
], $config->get('builder.advancedItem')]
]
]
];