[FEATURE] Add TemplateRootPaths support to cObject FLUIDTEMPLATE 31/38331/10
authorFrans Saris <franssaris@gmail.com>
Sun, 29 Mar 2015 11:46:45 +0000 (13:46 +0200)
committerFrank Nägler <typo3@naegler.net>
Fri, 8 May 2015 21:37:01 +0000 (23:37 +0200)
commit2bc2196274a0c895fadcff01b5693fa67b16204e
tree7752a591f61733e9dcb31743e32addae497d776d
parent89cbe117f4dd60e7145620d4c88a407bbe98a960
[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>
typo3/sysext/core/Documentation/Changelog/master/Feature-66111-AddTemplaterootpathsSupportToCobjectFluidtemplate.rst [new file with mode: 0644]
typo3/sysext/frontend/Classes/ContentObject/FluidTemplateContentObject.php
typo3/sysext/frontend/Tests/Unit/ContentObject/FluidTemplateContentObjectTest.php