[Typo3] changing tt_news template

cyprian.pl cyprian at pi2.pl
Sun Aug 21 10:39:55 CEST 2005


On Sun, 21 Aug 2005 05:13:01 +0200, Christopher <bedlamhotel at gmail.com>  
wrote:

> Hi,
>
> On 20/08/05, Michael Baker <mbaker at pobox.com> wrote:
>> Is there any way using typo3 that I can change the tt_news template
>> located at /typo3_src-3.6.2/typo3/ext/tt_news/pi/news_template.tmpl?
>>
>> I've tried to ftp a new version but I don't have write permission.
>>
>> Michael.
>>
>> PS some background I'm creating a website for disabled users.  It is
>> important that it be standards compliant.  I need to replace
>> news_template.tmpl with an xhtml transitional compliant file.  I've made
>> a copy of news_template.tmpl that is compliant but now need to upload  
>> it.
>
>
> Put it somewhere else :-)
>
> Seriously, you _have to_ do this if you're going to change files,
> because otherwise your changed files will be overwritten when you
> update the extension. You will find that both the flexform in the
> plugin record, and the extension's default Typoscript provide methods
> for you to specify template files other than the default.
>
> Check the TS Object Browser in the Template module (you may need to
> install the TSob if you're using Typo3 3.8). Just expand the nodes in
> the tree called 'plugin' and 'tt_news' and start checking the
> properties - it might take a while to find the template item, but
> you'll learn a LOT about how the extension's TS works. You can also
> find explanations of TS properties in the (very complete) tt_news
> documentation [1].
>
> Christopher
>
> [1]  
> http://typo3.org/documentation/document-library/tt_news/Configuration-63/#oodoc_part_6609

I'm using tt_news with TemplaVoila!, yet changing template in plugin  
configuration (Web > Page module) doesn't change the display - it still  
uses plugin's default template (I'm using css one).
I could probably change it through 'plugin.tt_news' via TS, yet I have two  
sections of tt_news on one page and each of them should have it's own  
template.
How could I do it and why the setting in Web > Page module doesn't work?

regards, Cyprian



More information about the TYPO3-english mailing list