Container with collapsible columns

Extension key

ew_collapsible_container

Package name

evoweb/ew-collapsible-container

Version

2.2.2

Language

en

Author

Sebastian Fischer

License

This document is published under the Open Publication. license.

Rendered

Sun, 20 Jul 2025 13:17:56 +0000

Copyright

2024-2024


Adds collapsibility to container columns and directly link into record form, if only one child type is allowed

The content of this document is related to TYPO3, a GNU/GPL CMS/Framework available from http://typo3.org


Table of Contents

Installation

Installation via Composer

Add evoweb/ew-collapsible-container to the require in your composer.json.

Enter on shell
composer require evoweb/ew-collapsible-container
Copied!

Example

Configuration/TCA/Overrides/tt_content.php
$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);
Copied!

Sitemap