PHP code example of evoweb / ew-collapsible-container

1. Go to this page and download the library: Download evoweb/ew-collapsible-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/ */

    

evoweb / ew-collapsible-container example snippets


$configuration = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
    \B13\Container\Tca\ContainerConfiguration::class,
    'demo_container',
    $languageFile . 'CType.I.demo_container',
    $languageFile . 'CType.I.demo_container-plus_wiz_description',
    [
        [
            [
                'name' => 'Elements',
                'colPos' => 200,
                'allowed' => ['CType' => 'kwicks_element'],
                'collapsed' => true,
            ]
        ]
    ]
);

$configuration->setGridTemplate('EXT:container/Resources/Private/Templates/Grid.html');