| Server IP : 54.36.91.62 / Your IP : 216.73.217.117 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/voscatalogues/templates/yootheme/cache/ |
Upload File : |
<?php // $file = /home/coopiak/amisdesseniors-fr/voscatalogues/plugins/system/djc2yootheme/modules/builder-djcatalog2-source/elements/dj-list_item/element.json
return [
'@import' => $filter->apply('path', './element.php', $file),
'name' => 'dj-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' => [
'content' => [
'label' => 'Product name',
'type' => 'editor',
'source' => true
],
'category' => [
'label' => 'Category',
'type' => 'editor',
'source' => true
],
'shortDescription' => [
'label' => 'Short Description',
'type' => 'editor',
'source' => true
],
'description' => [
'label' => 'Description',
'type' => 'editor',
'source' => true
],
'cart' => [
'label' => 'Cart',
'type' => 'editor',
'source' => true
],
'attributes' => [
'label' => 'Attributes',
'type' => 'editor',
'source' => true
],
'price' => [
'label' => 'Price',
'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' => ['content','price','category','description','shortDescription','cart','attributes','image','image_alt','icon','icon_color','link','link_target']
],$config->get('builder.advancedItem')]
]
]
];