[TYPO3-english] tt_news and categories
Jacob Schmidt
list at rootmedia.dk
Fri Jul 3 16:49:15 CEST 2009
Pero Matic wrote:
> Hi,
>
> Is it possible, based on news category, to display some class, tag, whatever
> in news template? The problem is that i have many news categories and i need
> to display each page that respresent each category with different colors.
> So, ie. category sport has green elements, category media red etc. I could
> do news template for each one of this categories but then it would be hard
> to make changes in all. So, i'd like to have something like this in a news
> template:
>
> --- News LIST ---
>
> some html...
> <font class=###font_color_class_based_on_news_category###>
> .... some html
>
> -----------------------
>
> Is this possible to do? Thx.
>
>
Look in the manual for "Different wraps by category", that may solve
your problem.
There is a news group for tt_news -> typo3.projects.tt-news
Cheers
/Jacob
More information about the TYPO3-english
mailing list