[Typo3] How to associate tt_news categories with templates

Rupert Germann rupi at gmx.li
Fri May 20 09:13:20 CEST 2005


Hi Reena,

Reena wrote:
> I have created four categories.And all the four categories have different
> templates for single news display.I have created a single page where
> single news of all categories are displayed.
> 
>  But my problem is that single news of all categories are displayed at
>  same
> page then how can I associate categories with different templates. So that
> if the single page is showing the news related to "Environment" category
> then the template related to that category gets displayed.

that's possible with "Single-view page for news from this category". 
actvate this feaure by adding

plugin.tt_news.useSPidFromCategory = 1

to your TS setup. 
Then create 4 SINGLE view pages and assign them to the categories by adding
one of them to each category.

greets
rupi



More information about the TYPO3-english mailing list