[TYPO3-mvc] Configuring custom path to widget template

Steffen Müller typo3 at t3node.com
Tue Dec 6 12:49:07 CET 2011


Hi.

I am trying to configure a custom path to the template of an extension 
widget.

It's the paginate widget in news extension:
EXT:news/Classes/ViewHelpers/Widget/PaginateViewHelper.php
EXT:news/Resources/Private/Templates/ViewHelpers/Widget/Paginate/Index.html

I put the following line to my TypoScript setup:

plugin.tx_news.view {
   widget.Tx_News_ViewHelpers_Widget_PaginateViewHelper.templateRootPath 
= fileadmin/templates/ext-templates/news/Templates/
}

My custom templates has this path:

fileadmin/templates/ext-templates/news/Templates/ViewHelpers/Widget/Paginate/Index.html


But no effect at all :(

Do you have any hints to solve this or to debug? Thanks!



-- 
cheers,
Steffen

TYPO3 Blog: http://www.t3node.com/
Twitter: @t3node - http://twitter.com/t3node


More information about the TYPO3-project-typo3v4mvc mailing list