Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 2.65 KB

CHANGELOG.md

File metadata and controls

58 lines (42 loc) · 2.65 KB

Changelog

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.

Version 0.2.0

Renaming of database tables and fields

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:

Update database

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 your TCA of custom elements created

  • Update all references for content elements using the old field list to now use tx_listelements_list. This also applies to palettes created.
  • Update custom fields added to the table listelements to now be added to tx_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 to images to be more precise (and in line with assets).
    Note that this also applies to all showitem configurations as well as columnsOverrides configuration.

Update backend preview templates

The arrays for images and assets file references have been renamed

  • from allAssets to processedAssets
  • from allImage to processedImages Update your Fluid templates accordingly.