Feature: #79413 - Auto-render Assets sections in FLUIDTEMPLATE content object ¶
See Issue #79413
FLUIDTEMPLATE content object will now automatically render two sections and insert the rendered content as assets via PageRenderer. The two sections can be defined in the template file rendered by the FLUIDTEMPLATE object.
<f:section name="HeaderAssets">for assets intended for the
<f:section name="FooterAssets">for assets intended for the end of the
Both sections are optional.
is available as template variable in both sections, allowing you to make decisions
based on various aspects of the configured content object instance. In addition, all variables you declared for the
content object are available when rendering either section.
All content you write into these sections will be output in the respective location as is, meaning you must write the entire
or whichever tag you are writing, including all attributes. You can of course use various Fluid ViewHelpers
to resolve extension asset paths.
Fluid templates rendered through the FLUIDTEMPLATE content object may now contain two new sections for either
FooterAssetsdepending on desired output. Content of these sections will be rendered and assigned via PageRenderer to either header or footer.