[TYPO3-ttnews] different category HTML classes / uids
Butch Harper
begs40 at yahoo.de
Fri Feb 5 15:28:48 CET 2010
Hi all,
i googled a lot but nothing functional found...
i want to style my different tt_news categories easily by adding the
unique category id to my HTML class.
e.g.
<div class="tt_news_category1">My category 1</div>
<div class="tt_news_category2">My category 2</div>
<div class="tt_news_category3">My category 3</div>
could anyone tell me how to do that (really easy) thing? If i use the
"title" then it's done via:
displayLatest{
title_stdWrap.wrap = {register:newsCategoryUid}
title_stdWrap.insertData=1
}
it's not possible to change "title" with "category" because nothing happens.
i tried a few other things like "dataWrap" or
"DB:tt_news:{GPvar:tx_ttnews|tt_news}:category" but i don't get the
point how to do that exactly.
thank you,
Butch
More information about the TYPO3-project-tt-news
mailing list