[TYPO3-mvc] Custom templates for widgets
Peter Bücker
news.naag at gmx.net
Fri Feb 11 13:00:18 CET 2011
Hi all,
I've written a small patch that allows the templateRootPath of widgets
to be overwritten via TS: https://gist.github.com/f6eb626900c5487e3950.
Example TS setup is included in the gist.
The template file structure below the templateRootPath is preserved, so
it is still like "ViewHelpers/Widget/@controllerName/@template. at format".
I.e., if you set the templateRootPath to
"EXT:myext/Resources/Private/Templates/", the full path to the paginate
template would be
"EXT:myext/Resources/Private/Templates/ViewHelpers/Widget/Paginate/index.html".
Please try this out or have a look at it. If it works for you as well, I
will post a feature request on the bug tracker.
Regards,
Peter
More information about the TYPO3-project-typo3v4mvc
mailing list