Project

General

Profile

Actions

Bug #77235

closed

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

Added by Marco Kuprat over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2016-07-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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" />

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #79760: FLUIDTEMPLATE not rendered when Layout name collides with Layout name of FSCClosed2017-02-11

Actions
Actions

Also available in: Atom PDF