PHP code example of its-bessner / conditional-container
1. Go to this page and download the library: Download its-bessner/conditional-container library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
its-bessner / conditional-container example snippets
$GLOBALS['TL_LANG']['CTE']['itsbessner_conditional_container_element'] = [
'Conditional Container',
"Contains events before or at which the content should be displayed."
];
$GLOBALS['TL_LANG']['tl_content']['itsbessner_conditional_selection'] = [
'Condition - Selection',
"Specify here on which events the content should be displayed."
];
$GLOBALS['TL_LANG']['tl_content']['itsbessner_conditional_days_before'] = [
"Lead time in days",
"How many days before the respective event should the content be displayed?"
];