Bug #71781
closed
Fluid_styled_content: Templates path is wrong
Added by Stefan Padberg about 9 years ago.
Updated about 7 years ago.
Category:
Fluid Styled Content
Description
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:
'EXT:fluid_styled_content/Resources/Private/Templates/Content/'
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.
- Category set to Fluid Styled Content
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?
- Status changed from New to Needs Feedback
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.
- 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.
- Status changed from New to Under Review
- Target version set to 7.6.1
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF