Breaking: #91562 - cObject TEMPLATE removed¶
See forge#91562
Description¶
The cObject TEMPLATE
, used for rendering marker-based templates
has been removed along with the PHP class TYPO3\CMS\Frontend\ContentObject\TemplateContentObject
.
The successor FLUIDTEMPLATE
is widely used since TYPO3 v7,
and acts as a replacement for marker-based templates.
Impact¶
Using TypoScript with page.10 = TEMPLATE
will result in a PHP
error when rendering the frontend.
Referencing the PHP class will result in a fatal PHP error.
Affected Installations¶
TYPO3 installation still using TEMPLATE
cObject in their TypoScript.
Migration¶
Refactor TypoScript templates to not use the cObject TEMPLATE
anymore.
In case you can not or want not make the switch to FLUIDTEMPLATE
, install
the extension modern_template_building
from the official
TYPO3 Extension Repository at https://extensions.typo3.org/, which acts as a drop-in replacement, and also ships the cObject FILE
which is highly useful for TEMPLATE
cObjects.
The extension is compatible with TYPO3 v9+.