b13 / collapse
Collapse large content element previews in TYPO3's Page Module
Package info
Language:HTML
Type:typo3-cms-extension
pkg:composer/b13/collapse
Requires
- typo3/cms-backend: ^13.4 || ^14.3
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-30 10:54:40 UTC
README
This TYPO3 extension provides functionality to expand or collapse the Content Element details within the TYPO3 Page Module.
TYPO3's page module will show arrow up / down buttons on each content element on the right side.
This is especially useful if you have a lot of content or are using nested content elements.
Installation
Install this extension via composer req b13/collapse.
You can also download the extension from the TYPO3 Extension Repository and activate it in the Extension Manager of your TYPO3 installation.
Usage
No configuration is needed. By default, all content elements can be collapsed.
The current state - if an element is expanded or collapsed - is stored within the users' settings "UC".
Configuration
Collapsing can be restricted to certain Content Types (CType) via Page TSconfig:
mod.web_layout.tt_content.collapse {
# Only these CTypes can be collapsed (empty = all)
includeCTypes = text, textmedia, image
# These CTypes can never be collapsed
excludeCTypes = html, shortcut
}
If includeCTypes is set, only the listed CTypes get the collapse button.
excludeCTypes is applied afterwards and removes CTypes from the result.
Both options can be used independently or combined.
As with any Page TSconfig, the configuration can differ per page tree and
can be overridden per user or group via User TSconfig (page.mod.web_layout...).
Futher Development
This is our bare minimum feature set, a few features will following along:
- Disable collapsing in User Settings
- Customizable preview in collapsed state
Credits
This extension was created by Benni Mack in 2023 for b13 GmbH, Stuttgart.
Find more TYPO3 extensions we have developed that help us deliver value in client projects. As part of the way we work, we focus on testing and best practices ensuring long-term performance, reliability, and results in all our code.