Bug #71781
closedFluid_styled_content: Templates path is wrong
100%
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.
Updated by Mathias Schreiber almost 9 years ago
- Category set to Fluid Styled Content
Updated by Tobias Wollender almost 9 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 almost 9 years ago
- Status changed from New to Needs Feedback
Updated by Stefan Padberg almost 9 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 almost 9 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 almost 9 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 almost 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 333d4821141c35a5ece5d57b23f50f1afcde8875.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed