This extension is still in beta. While we are using it in testing and production environments, there are still things that might change as feedback and experiences from real-life use cases come in. Here's a list of recent breaking changes.
Database fields and tables have been renamed to comply with TYPO3 best practices.
- The default database field for holding a list for content elements has been renamed to
tx_listelements_list
. - The database table for list items has been renamed to
tx_listelements_item
. - LLL-keys have updated identifiers according to new field names/table names.
After updating, make sure to update your project files as follows:
After adding new fields and tables to your database using the install tool/TYPO3 console, prepare a database backup
just in case. Assuming the table tx_listelements_item
is empty, run the following commands:
# remove empty new table
DROP TABLE tx_listelements_item;
# rename old listitems table
ALTER TABLE listitems RENAME TO tx_listelements_item;
# update references
UPDATE tt_content SET tx_listelements_list = list WHERE list != '';
UPDATE tx_listelements_item SET fieldname = 'tx_listelements_list' WHERE fieldname = 'list';
UPDATE sys_file_reference SET tablenames = 'tx_listelements_item' WHERE tablenames = 'listitems';
# rename/update references due to changed fieldname "images" (instead of "image")
ALTER TABLE tx_listelements_item RENAME COLUMN image TO images;
UPDATE sys_file_reference SET fieldname = "images" WHERE fieldname="image" and tablenames = "tx_listelements_item";
- Update all references for content elements using the old field
list
to now usetx_listelements_list
. This also applies to palettes created. - Update custom fields added to the table
listelements
to now be added totx_listelements_list
. - Update references to LLL labels taken from
EXT:listelements
(if you re-used labels in your TCA/PageTSConfig). - Update all references to field
image
of listelements, this field has been renamed toimages
to be more precise (and in line withassets
).
Note that this also applies to allshowitem
configurations as well ascolumnsOverrides
configuration.
The arrays for images and assets file references have been renamed
- from
allAssets
toprocessedAssets
- from
allImage
toprocessedImages
Update your Fluid templates accordingly.