[TYPO3-english] Setting path for plugin templates
Jan Bednarik
info at bednarik.org
Fri Oct 23 22:25:05 CEST 2015
Hi,
in case of tx_news you don't need to copy all templates, but only those
that you are changing. And then you point to them like this:
plugin.tx_news.view.templateRootPaths.1 =
EXT:yours/Resources/Private/News/Templates/
plugin.tx_news.view.partialRootPaths.1 =
EXT:yours/Resources/Private/News/Partials/
Regards
Jan
Dne 23. 10. 2015 v 21:13 Svend Erik Volsgaard napsal(a):
> Hi
>
> I'm want to change the templates for the News extension and have copied
> them to fileadmin.
> Then I have set the following ind the Constants part of my main
> typoscript template:
>
> plugin.tx_news.view.layoutRootPath=fileadmin/template/news/Layouts/
> plugin.tx_news.view.partialRootPath=fileadmin/template/news/Partials/
> plugin.tx_news.view.templateRootPath=fileadmin/template/news/Templates/
>
> But News is still using the original templates :-(
>
> I'm using Typo3 7.4
>
> Best regards
> Svend Erik Volsgaard
More information about the TYPO3-english
mailing list