Breaking: The content load component of programs is removed
Description
Since version 2.4 the page type Academic program renders its
content from the variable
program of its own page object,
see Important: The program page renders its own content. The component
fgtclb/ stayed, and kept defining the global
TypoScript object
styles. for every page of the
site.
That site wide override is removed:
- the set
fgtclb/;academic- programs- content- load - the dependency on it in the aggregate set
fgtclb/;academic- programs - the static template
Academic Programs: Content load override (academic_programs),
stored as
EXT:, and the entry for it in Academic Programs: All components (academic_programs);academic_ programs/ Configuration/ Typo Script/ Content Load - the file
EXT:academic_programs/Configuration/TypoScript/ContentLoad/setup.typoscript.
Impact
- A site configuration that names
fgtclb/as a dependency, directly or through a set of the site package, fails completely: TYPO3 answers every page of the site with HTTP 500 and the message "Site <identifier> depends on unavailable sets: ...", which names the removed set, or the set of the site package that depends on it. A site that depends on the aggregateacademic- programs- content- load fgtclb/is not affected.academic- programs styles.is no longer defined. The content-load sets ofcontent. get Content EXT:andacademic_ partners EXT:are removed in 3.0 as well. A template of the site package that renders it throughacademic_ projects f:throws the exception above.c Object - A template override of
Academicthat still rendersProgram. html styles.throws the same exception.content. get Content - A customisation of
styles., for example one that slides the content from the parent pages, no longer reaches program pages. The same holds for a customisation ofcontent. get Content styles.that was parsed before the override: the override copied it intocontent. get styles..content. get Content - A
sys_record that selects the removed static template, or imports the removed file, gets nothing for it, without a message.template
Affected Installations
Installations that name the content load set or select its static template,
that render
styles. in a template of their own,
or that customised that object for program pages.
The console command
academic: of
EXT: reports each of the stored references: a site that
depends on the removed set as
unavailable-, the removed static
template as
static- and an
@import
of the removed
file in a TypoScript record as
typoscript-.
Migration
- Remove
fgtclb/from theacademic- programs- content- load dependenciesof the site configuration and of every set of the site package. The aggregatefgtclb/, or the component sets, deliver everything a program page needs.academic- programs - Remove the static template from the
sys_record, and antemplate @importof the removed file from a site package. - A template override of
Academicthat still rendersProgram. html styles.renderscontent. get Content {programinstead of theContent -> f: format. raw ()} f:call.c Object - Move a customisation of
styles.for program pages tocontent. get Content page., inside the same condition, see The content of a program page.10. variables. program Content -
A site package that renders
styles.in a template of its own defines the object itself, for example fromcontent. get Content styles., which TYPO3 defines on every site:content. get styles.content.getContent < styles.content.get styles.content.getContent.select.where = {#colPos}=0Copied!