The templavoilá template engine for Typo3 provides a feature named Flexible Content Elements (FCE) to build custom content elements for a website.
FCEs are very usefull to provide additional structures, such as different multi-column layouts the editor can choose from.

In case of a multi-language website with a single page tree, most websites provide the same content structure for a page in all languages. Translating regular content elements produces copies of the content elements configured for a specific language and linked to the default language. However, working with structuring FCEs, this concept would fail for translating nested “real” content elements.
To simplify this, one should configure the FCEs for “all” instead of the “default” or another specific language.

If you already created a lot of FCEs for the default or another language and if you need to switch them to the “all” language setting, the following SQL statement can do this for you:
UPDATE tt_content SET sys_language_uid = -1 WHERE sys_language_uid = 0 AND CType = 'templavoila_pi1'

Warning: This sql is provided without any waranty and you should be familar with directly executing queries to your database. You should also back up your database before executing a query to not run into any data loss.

Typo3 Templavoila Multilanguage FCEs

Post navigation

Leave a Reply