| Server IP : 54.36.91.62 / Your IP : 216.73.217.111 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/annonces/templates/yootheme/cache/ |
Upload File : |
<?php // $file = /home/coopiak/amisdesseniors-fr/catalog/templates/yootheme/packages/builder/elements/switcher_item/element.json
return [
'@import' => $filter->apply('path', './element.php', $file),
'name' => 'switcher_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' => '',
'label' => '',
'thumbnail' => ''
]
],
'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
],
'image' => $config->get('builder.image'),
'image_alt' => [
'label' => 'Image Alt',
'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'
],
'label' => [
'label' => 'Navigation Label',
'source' => true
],
'thumbnail' => [
'label' => 'Navigation Thumbnail',
'description' => 'This is only used, if the thumbnail navigation is set.',
'type' => 'image',
'source' => true
],
'item_element' => $config->get('builder.html_element_item'),
'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'
],
'thumbnail_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' => 'thumbnail'
],
'status' => $config->get('builder.statusItem'),
'source' => $config->get('builder.source')
],
'fieldset' => [
'default' => [
'type' => 'tabs',
'fields' => [[
'title' => 'Content',
'fields' => ['title', 'meta', 'content', 'image', 'image_alt', 'link', 'link_text', 'label', 'thumbnail']
], [
'title' => 'Settings',
'fields' => [[
'label' => 'Item',
'type' => 'group',
'divider' => true,
'fields' => ['item_element']
], [
'label' => 'Image',
'type' => 'group',
'divider' => true,
'fields' => ['image_focal_point']
], [
'label' => 'Thumbnail',
'type' => 'group',
'fields' => ['thumbnail_focal_point']
]]
], $config->get('builder.advancedItem')]
]
]
];