| 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/yoothemedjsectionstab/module/elements/accordion/element.json
return [
'@import' => $filter->apply('path', './element.php', $file),
'name' => 'dj-accordion',
'title' => 'DJ-SectionAcordeon',
'group' => 'DJ-Extensions',
'icon' => $filter->apply('url', 'images/icon.svg', $file),
'iconSmall' => $filter->apply('url', 'images/iconSmall.svg', $file),
'element' => true,
'container' => true,
'width' => 500,
'defaults' => [
'collapsible' => true,
'content_column_breakpoint' => 'm',
'image_svg_color' => 'emphasis',
'image_align' => 'top',
'image_grid_width' => '1-2',
'image_grid_breakpoint' => 'm',
'link_text' => 'Read more',
'link_style' => 'default'
],
'placeholder' => [
'children' => [[
'type' => 'dj-accordion_item',
'props' => []
],[
'type' => 'dj-accordion_item',
'props' => []
],[
'type' => 'dj-accordion_item',
'props' => []
]]
],
'templates' => [
'render' => $filter->apply('path', './templates/template.php', $file),
'content' => $filter->apply('path', './templates/content.php', $file)
],
'fields' => [
'content' => [
'label' => 'Items',
'type' => 'content-items',
'item' => 'dj-accordion_item',
'media' => [
'type' => 'image',
'item' => [
'title' => 'title',
'image' => 'src'
]
]
],
'multiple' => [
'label' => 'Behavior',
'type' => 'checkbox',
'text' => 'Allow multiple open items'
],
'position' => $config->get('builder.position'),
'position_left' => $config->get('builder.position_left'),
'position_right' => $config->get('builder.position_right'),
'position_top' => $config->get('builder.position_top'),
'position_bottom' => $config->get('builder.position_bottom'),
'position_z_index' => $config->get('builder.position_z_index'),
'margin' => $config->get('builder.margin'),
'margin_remove_top' => $config->get('builder.margin_remove_top'),
'margin_remove_bottom' => $config->get('builder.margin_remove_bottom'),
'maxwidth' => $config->get('builder.maxwidth'),
'maxwidth_breakpoint' => $config->get('builder.maxwidth_breakpoint'),
'block_align' => $config->get('builder.block_align'),
'block_align_breakpoint' => $config->get('builder.block_align_breakpoint'),
'block_align_fallback' => $config->get('builder.block_align_fallback'),
'text_align' => $config->get('builder.text_align_justify'),
'text_align_breakpoint' => $config->get('builder.text_align_breakpoint'),
'text_align_fallback' => $config->get('builder.text_align_justify_fallback'),
'animation' => $config->get('builder.animation'),
'_parallax_button' => $config->get('builder._parallax_button'),
'visibility' => $config->get('builder.visibility'),
'name' => $config->get('builder.name'),
'status' => $config->get('builder.status'),
'id' => $config->get('builder.id'),
'class' => $config->get('builder.cls'),
'attributes' => $config->get('builder.attrs'),
'css' => [
'label' => 'CSS',
'description' => 'Enter your own custom CSS. The following selectors will be prefixed automatically for this element: <code>.el-element</code>, <code>.el-item</code>, <code>.el-title</code>, <code>.el-content</code>, <code>.el-image</code>, <code>.el-link</code>',
'type' => 'editor',
'editor' => 'code',
'mode' => 'css',
'attrs' => [
'debounce' => 500
]
]
],
'fieldset' => [
'default' => [
'type' => 'tabs',
'fields' => [[
'title' => 'Content',
'fields' => ['content']
],[
'title' => 'Settings',
'fields' => [[
'label' => 'Accordion',
'type' => 'group',
'divider' => true,
'fields' => ['multiple']
],[
'label' => 'General',
'type' => 'group',
'fields' => ['position','position_left','position_right','position_top','position_bottom','position_z_index','margin','margin_remove_top','margin_remove_bottom','maxwidth','maxwidth_breakpoint','block_align','block_align_breakpoint','block_align_fallback','text_align','text_align_breakpoint','text_align_fallback','animation','_parallax_button','visibility']
]]
],$config->get('builder.advanced')]
]
]
];