[TYPO3-mvc] Fluid: Fallback paths for templates
Bastian Waidelich
bastian at typo3.org
Mon Jul 29 15:55:28 CEST 2013
Bastian Waidelich wrote:
> [...] Instead of configuration overlays we change the main Fluid options
> "templateRootPath", "layoutRootPath" & "partialRootPath" to be arrays
> rather than strings, so "..RootPath" becomes "..RootPaths" and Fluid
> iterates over all path until a matching template is found.
Here is a first attempt:
https://review.typo3.org/#q,I530e9a1fadbbd210c980c62cf2022c38fa81bb56,n,z
The change also contains some smaller cleanups, so I've split it into 4
patch set to make reviewing easier:
Patch Set 1 only contains minor CGL and documentation tweaks as
preparation for the upcoming changes.
Patch Set 2 contains a refactoring without real functional change. It
fixes an issue with duplicates and double slashes though (see inline
comments of PS2)
Patch Set 3 contains the actual change and introduces the API methods
setTemplateRootPaths(), setPartialRootPaths() and setLayoutRootPaths()
Patch Set 4 is another non-functional cleanup. It only moves getters &
setters together to the top of the class for better readability
--
Bastian Waidelich
--
Core Developer Team
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the TYPO3-project-typo3v4mvc
mailing list