[TYPO3] TT_NEWS categorytitles in different styles with {register:newsCategoryUid}?

Søren Vedel sv at workhouse.dk
Sat Mar 31 16:26:35 CEST 2007


Hi,

When I put this in my Setup:

plugin.tt_news.displayLatest {
title_stdWrap.wrap = <div 
class="news-latest-title-{register:newsCategoryUid}">|</div>
title_stdWrap.insertData=1

category_stdWrap.wrap = <div 
class="news-latest-category-{register:newsCategoryUid}">|</div>
category_stdWrap.insertData=1
}

I get the titles nicely with
.news-latest-title-1
.news-latest-title-2
etc.

but the category titles get this style,
.news-latest-category-{register:newsCategoryUid}


The categories are wrapped like this:
###CATWRAP_B### ###NEWS_CATEGORY### ###CATWRAP_E###

While the titles looks like this.
<h3><!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###--></h3>


It seems that the category style renders different?

Can I solve this with TS or do I have to hack tt_news?


-- 
Med venlig hilsen/Kind regards
Søren Vedel
Workhouse Media


More information about the TYPO3-english mailing list