evoweb / ew-collapsible-container
Collapsible container
Package info
github.com/evoWeb/ew_collapsible_container
Language:Shell
Type:typo3-cms-extension
pkg:composer/evoweb/ew-collapsible-container
2.4.0
2026-05-14 19:02 UTC
Requires
- b13/container: ^3.2.3 || dev-master
- psr/event-dispatcher: ^1.0
- symfony/event-dispatcher-contracts: ^3.6
- typo3/cms-backend: ^13.4 || ^14.1 || 15.*.*@dev || dev-main
- typo3/cms-core: ^13.4 || ^14.1 || 15.*.*@dev || dev-main
Requires (Dev)
- composer/pcre: ^2.1.3
- firebase/php-jwt: ^7.0
- friendsofphp/php-cs-fixer: ^3.95
- phpstan/phpdoc-parser: ^1.30.0
- phpstan/phpstan: ^2.1.54
- phpunit/phpunit: ^11.5.55
- symfony/cache: ^7.4 || ^8.0
- symfony/cache-contracts: ^3.6
- symfony/translation: ^7.4 || ^8.1
- symfony/var-exporter: ^7.1 || ^8.0
- typo3/testing-framework: ^9.2.1 || ^9.5.0
README
Installation
via Composer
The recommended way to install ew_collapsible_container is by using Composer:
composer require evoweb/ew-collapsible-container
quick introduction
Adds ability to collapse a container in backend to get children out of the way.
Add 'collapsed' to column definition when registering ContainerConfiguration to collapse elements initially.
$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, 'minitems' => 1, 'maxitems' => 5, ] ] ] ); $configuration->setGroup('ew_fischer'); $configuration->setIcon('content-card-group'); GeneralUtility::makeInstance(Registry::class)->configureContainer($configuration);
Add setTemplate to disable ability to collapse for defined container elements.
$configuration->setGridTemplate('EXT:container/Resources/Private/Templates/Grid.html');