[FEATURE] Add TemplateRootPaths support to cObject FLUIDTEMPLATE
cObject FLUIDTEMPLATE is extended with `templateRootPaths` and `templateName`. Now you can set a template name and when rendering the template this name is used together with the set format to find the template in the given templateRootPaths with the same fallback logic as layoutRootPath and partialRootPath. Resolves: #66111 Releases: master Change-Id: I30d7fa63f63f818b5da31194bad1dccce95929e2 Reviewed-on: http://review.typo3.org/38331 Reviewed-by:Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Frank Nägler <typo3@naegler.net> Tested-by:
Frank Nägler <typo3@naegler.net>
Showing
- typo3/sysext/core/Documentation/Changelog/master/Feature-66111-AddTemplaterootpathsSupportToCobjectFluidtemplate.rst 82 additions, 0 deletions...111-AddTemplaterootpathsSupportToCobjectFluidtemplate.rst
- typo3/sysext/frontend/Classes/ContentObject/FluidTemplateContentObject.php 19 additions, 14 deletions...tend/Classes/ContentObject/FluidTemplateContentObject.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/FluidTemplateContentObjectTest.php 54 additions, 0 deletions...sts/Unit/ContentObject/FluidTemplateContentObjectTest.php
Loading
Please register or sign in to comment