-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Respect
templateName
for fluid template assets rendering
Rendering assets in fluid templates via the special "HeaderAssets" and "FooterAssets" sections does now properly work with a given "templateName" by rendering the "view" before assets rendering takes place, as this does internally correctly set the template name. Resolves: #105390 Releases: main, 13.4 Change-Id: I7cb102a79c35a3e054d5d7d93027c5c9609aba20 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86687 Tested-by: core-ci <typo3@b13.com> Tested-by: Benni Mack <benni@typo3.org> Reviewed-by: Oliver Bartsch <bo@cedev.de> Reviewed-by: Benni Mack <benni@typo3.org> Tested-by: Oliver Bartsch <bo@cedev.de>
Showing
3 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
...tional/Fixtures/Extensions/test_fluid_template/Configuration/TypoScript/assets.typoscript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
page = PAGE | ||
page.10 = FLUIDTEMPLATE | ||
page.10 { | ||
template = TEXT | ||
template.value = <f:section name="HeaderAssets">Foo Header</f:section><f:section name="FooterAssets">Foo Footer</f:section> | ||
templateName = AssetsSections | ||
templateRootPaths { | ||
10 = EXT:test_fluid_template/Resources/Private/Templates | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
...l/Fixtures/Extensions/test_fluid_template/Resources/Private/Templates/AssetsSections.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<f:section name="HeaderAssets">Foo Header</f:section><f:section name="FooterAssets">Foo Footer</f:section> |