| Server IP : 54.36.91.62 / Your IP : 216.73.217.94 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-source/config/builder.json
return [
'source' => [
'type' => 'fields',
'fields' => [
'_source' => [
'label' => 'Dynamic Content',
'type' => 'source-select',
'description' => 'Select a content source to make its fields available for mapping. Choose between sources of the current page or query a custom source.'
],
'_sourceArgs' => [
'type' => 'source-query-args'
],
'_sourceField' => [
'label' => 'Multiple Items Source',
'type' => 'source-field-select',
'description' => 'By default, fields of related sources with single items are available for mapping. Select a related source which has multiple items to map its fields.',
'show' => 'yootheme.builder.helpers.Source.getSourceFieldOptions(this.builder.path(this.node))'
],
'_sourceFieldArgs' => [
'type' => 'source-field-args'
],
'_sourceFieldDirectives' => [
'type' => 'source-field-directives'
],
'_sourceCondition' => [
'type' => 'fields',
'fields' => [
'_sourceConditionProp' => [
'label' => 'Dynamic Condition',
'prop' => '_condition',
'type' => 'source-prop-select',
'description' => 'Set a condition to display the element or its item depending on the content of a field.'
],
'_sourceConditionArgs' => [
'type' => 'source-prop-filters',
'prop' => '_condition',
'fields' => [
'_grid' => [
'type' => 'grid',
'width' => '1-2',
'fields' => [
'condition' => [
'label' => 'Condition',
'type' => 'select',
'default' => '!!',
'options' => [
'Is empty' => '!',
'Is not empty' => '!!',
'Is equal to' => '=',
'Is not equal to' => '!=',
'Contains' => '~=',
'Does not contain' => '!~=',
'Less than' => '<',
'Greater than' => '>',
'Starts with' => '^=',
'Does not start with' => '!^=',
'Ends with' => '$=',
'Does not end with' => '!$='
]
],
'condition_value' => [
'label' => 'Value',
'enable' => '$match(condition, \'=|<|>\')'
]
]
]
]
]
],
'show' => 'yootheme.builder.helpers.Source.getSourceField(this.builder.path(this.node))'
]
]
]
];