Bug #71781

Fluid_styled_content: Templates path is wrong

Added by Stefan Padberg over 6 years ago. Updated almost 5 years ago.

Should have
Fluid Styled Content
Target version:
Start date:
Due date:
% Done:


Estimated time:
TYPO3 Version:
PHP Version:
Is Regression:
Sprint Focus:


As the core team is in charge of 'fluid_styled_content' I address this bug report here.

In the extension 'fluid_styled_content' there is configuration possibility for 'lib.fluidContent.templatesRootPaths'. Default is:

If this is configured to 'fileadmin/someDirectory/Resources/Private/Templates' it doesn't work: the files in the custom directory are not read.

It works with 'fileadmin/someDirectory/Resources/Private/Templates/Content/'. This behaviour seems not to be in conformity with the extbase/fluid conventions and should therefore be changed - or well documented.


Updated by Mathias Schreiber over 6 years ago

  • Category set to Fluid Styled Content

Updated by Tobias Wollender over 6 years ago

Where are your custom template files located? In "fileadmin/someDirectory/Resources/Private/Templates/Content/"? So you have to add this path to your templateRootPaths. If you use "fileadmin/someDirectory/Resources/Private/Templates/" you should put your template files directly there, and not in a subfolder. So templateRootPaths always points to the folder where the template files are stored. So I think this isn't a bug, but rather a misconfiguration on your side, no?


Updated by Stephan Großberndt over 6 years ago

  • Status changed from New to Needs Feedback

Updated by Stefan Padberg over 6 years ago

According to extbase/fluid conventions, the templates directory is located at 'EXT:Resources/Private/Templates'. This IS the one and only templates directory, right?

In 'fluid_styled_content' the template directory is configured as 'EXT:Resources/Private/Templates/Content', which is clearly in contradiction with the above extbase/fluid conventions, right? It should be 'EXT:Resources/Private/Templates'.

Subdirectories in the template directory come with extbase repositories. If you really want the '/Content' subdirectory to be the templates directory you could move its content one level above in the real templates directory.

For a user it is not advisible to configure subdirectories of the templates directory as template directory.


Updated by Markus Klein over 6 years ago

  • Status changed from Needs Feedback to New
  • Assignee set to Markus Klein

I must admit this is indeed misleading to known behaviour of Fluid integration.
Will bring this up for discussion in the AC team.


Updated by Gerrit Code Review over 6 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45056


Updated by Markus Klein over 6 years ago

  • Target version set to 7.6.1

Updated by Markus Klein over 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Updated by Riccardo De Contardi almost 5 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF