b13 / listelements
Adds list elements to tt_content
Requires
- typo3/cms-backend: ^13.4 || ^14.3
- typo3/cms-core: ^13.4 || ^14.3
- typo3/cms-fluid-styled-content: ^13.4 || ^14.3
Requires (Dev)
- b13/listelements-example: *
- phpstan/phpstan: ^2.1
- typo3/cms-frontend: ^13.4 || ^14.3
- typo3/cms-workspaces: ^13.4 || ^14.3
- typo3/coding-standards: ^0.8
- typo3/testing-framework: ^9.1
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-master
- v2.x-dev
- 2.0.2
- 2.0.1
- 2.0.0
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.2
- 1.0.1
- 1.0.0
- 0.3.1
- 0.3.0
- 0.2.5
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.8
- 0.1.7
- v0.1.6
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1.0
- dev-task/readme-structure
- dev-task/readme-extensions-link
- dev-task/release-2.0.2
- dev-task/readme-creator
- dev-bugfix/typoscript-path-docs
- dev-task/ter-publish-workflow
- dev-add-default-image-types
- dev-sqlPerformance
- dev-bmack-patch-1
- dev-bugfix/php8-fallback
- dev-remove-custom-fileservice
- dev-workspace-backend-previews
- dev-BEXT-324
This package is auto-updated.
Last update: 2026-12-04 16:09:34 UTC
README
About this extension
This extension adds list items to tt_content. It adds a database field tx_listelements_list to tt_content that
allows adding flexible list items as IRRE records to any content element.
Installation
Add the extension to your project by installing it and adding the site set b13/listelements as a dependency of
your site set (or selecting it in the site configuration):
dependencies: - b13/listelements
If you do not use site sets, import the TypoScript setup in your site extension instead:
@import 'EXT:listelements/Configuration/Sets/listelements/setup.typoscript'
This adds the configuration for adding the list items as an array listitems to the variables available for your
content element's Fluid template, like this:
<f:for each="{listitems}" as="item">
...
</f:for>
alternative: record-transformation dataProcessing
if you use record-transformation dataProcessing for your content-elements the EXT:listelements Site-Set (the TypoScript) is not required you can do
tt_content.<my-ce>.dataProcessing.10 = record-transformation
then you have adapt your templates, e.g.
<f:for each="{record.tx_listelements_list}" as="item">
...
</f:for>
and also the items self, e.g.
{item.header}
{item.images}
instead of
{item.data.header}
{item.listimages}
Backend PageLayoutView preview
This extension adds a PageContentPreviewRendering Listener to resolve ListItems (and if needed further Relations to asses/images) to allow customized display using Fluid templates for the backend Page Layout View.
For TYPO3 Version > 12 the Listener is not required anymore, because TYPO3 use the Record Api to resolve relations automatically.
For TYPO3 Version > 13 the Listener is not used anymore (because the Event changed)
Migrate or BE-Templates
old:
<ul> <f:for each="{listitems}" as="item"> <li> {item.header} <f:if condition="{item.processedImages}"> <f:for each="{item.processedImages}" as="image"> <f:image src="{image.uid}" treatIdAsReference="true"/> </f:for> </f:if> </li> </f:for> </ul>
new:
<ul> <f:for each="{record.tx_listelements_list}" as="item"> <li> {item.header} <f:if condition="{item.images}"> <f:for each="{item.images}" as="image"> <f:image src="{image.uid}" treatIdAsReference="true"/> </f:for> </f:if> </li> </f:for> </ul>
Important info on configuration
Remember to add the hiddenpalette to all showitems-configuration for your own content elements to have invisible
fields like the language uid saved for all list items.
Credits
List Elements was created by David Steeb and is maintained by b13 GmbH, Stuttgart, Germany.
Find more TYPO3 extensions we have developed that help us deliver value in client projects. As part of our work, we focus on testing and best practices to ensure long-term performance, reliability, and results in all our code.