[TYPO3-ttnews] Recommended approach when customizing template

Oliver Salzburg oliver.salzburg at googlemail.com
Thu Feb 23 11:27:33 CET 2012


On 2012-02-23 10:42, Stefano Cecere wrote:
> On Tue, 20 Dec 2011 12:04:23 +0100, Georg Ringer <typo3 at ringerge.org>
> wrote:
> 
>>> So, do I have to make a copy of the full Templates/News folder and set
>>> my copy as plugin.tx_news.view.templateRootPath?
>>
>> this is the best thing to do.
> 
> well .. actually you have to copy all
> EXT:news/Resources/Private/Templates/ (not just
> EXT:news/Resources/Private/Templates/News/
> 
> because the view.templateRootPath variable needs that!
> 
> right!
> 
> (and it's a pity becasue there are LOTS of templates inside there :(

Yes. That's what I did. Made a copy of all the templates.
Now when I need to change just a partial, it sticks right away,
cause *my* file is already being used.
I like it.
I just wasn't used to working like that from "old" extensions.

Everything worked out just fine.


More information about the TYPO3-project-tt-news mailing list