Issue Bug Closed

#77235Collision of page template partials having the same name as fluid_styled_content partials

Marco Kuprat 07/24/16, 18:07 updated 12/05/17, 15:28

Description

FLUIDTEMPLATE partials which have the same filename as partials in typo3/sysext/fluid_styled_content/Resources/Private/Partials/ won’t get rendered. TYPO3 tries to render the partial from fluid_styled_content instead.

Example:
Part of my setup looks like this:

page.10 = FLUIDTEMPLATE
page.10.partialRootPaths.10 = fileadmin/templates/Partials

In the folder “Partials” I have a file “Footer.html”, containing a section “footer”.
In my fluid template I want to render section “footer” from this partial:

<f:render partial="Footer" section="footer"></f:render>

This leads to an exception in the frontend: “Section ‘footer’ does not exist”.
The reason is that TYPO3 tries to render the partial “typo3/sysext/fluid_styled_content/Resources/Private/Partials/Footer.html” which doesn’t have the required section.
Changing my partial to a filename that doesn’t exist in the fsc folder solves the problem, but that could lead to problems if an update of fluid_styled_content brings new files.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.