[TYPO3-english] replace only one template, not the whole path

Krystian Szymukowicz k.szymukowicz at gmail.com
Fri Nov 29 18:01:08 CET 2013


W dniu 2013-11-29 17:59, Krystian Szymukowicz pisze:
> W dniu 2013-11-28 17:15, Katja Lampela wrote:
>> Hi,
>>
>> I'm working with tx_news and I'm trying to find a way to replace only
>> the list.html template.
>>
>> I find only this ts reference to templates:
>>
>> plugin.tx_news.view.templateRootPath =
>> EXT:news/Resources/Private/Templates/
>>
>> Does this mean I have to copy all the templates in this extension folder
>> to my own folder even if I want to modify only this one html template?
>>
>> (Sorry if this is obvious, this is still new to me and I haven't found
>> THE documentation for the new templating system)
>>
>>
>
> hi
>
> I use smth like this in the forked version of news:
>
> In the Classes/BaseControlle.php I do:
>
>
>      protected function
> initializeView1(Tx_Extbase_MVC_View_ViewInterface $view) {


Sorry,
of course it should be initializeView instead of initializeView1.

--
grtz
Krystian



More information about the TYPO3-english mailing list