Download the PHP package b13/listelements without Composer
On this page you can find all versions of the php package b13/listelements. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download b13/listelements
More information about b13/listelements
Files in b13/listelements
Package listelements
Short Description Adds list elements to tt_content
License GPL-2.0-or-later
Informations about the package listelements
EXT:listelements
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 and adding the TypoScript setup to your site-Extension setup:
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:
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.
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:
new:
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.
All versions of listelements with dependencies
typo3/cms-fluid-styled-content Version ^13.4 || ^14.1