[TYPO3-mvc] Configuring custom path to widget template

Tim Schoch | GSTALTIG tim.schoch at gstaltig.ch
Wed Dec 7 08:51:33 CET 2011


Hi Steffen

What Version of Extbase are you using? In 1.3 you would have to patch it. [1]
In 1.4 it should work [2]

Tim

[1] http://lists.typo3.org/pipermail/typo3-project-typo3v4mvc/2011-February/008461.html
[2] http://forge.typo3.org/issues/10823

  _____  

From: Steffen Müller [mailto:typo3 at t3node.com]
To: typo3-project-typo3v4mvc at lists.typo3.org
Sent: Tue, 06 Dec 2011 12:49:07 +0100
Subject: [TYPO3-mvc]  Configuring custom path to widget template

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
  _______________________________________________
  TYPO3-project-typo3v4mvc mailing list
  TYPO3-project-typo3v4mvc at lists.typo3.org
  http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
    


More information about the TYPO3-project-typo3v4mvc mailing list