[TYPO3-ttnews] use register with imageWrapIfAny

Christoph Kammermeyer ckammermeyer at media-puzzle.de
Mon May 14 12:02:33 CEST 2007


Hi all,

I'd like to use the category UID in the " imageWrapIfAny" wrap and therefor 
changed the register example given in the tt_news manual to:
 imageWrapIfAny = <div 
class="news-list-title-{register:newsCategoryUid}">|</div>
 imageWrapIfAny.insertData=1

However, this doesen't seem to work since "{register:newsCategoryUid}" is 
still visible in the source code (it's not beeing replaced).

Works perfectly if I use
title_stdWrap.wrap = <div 
class="news-list-title-{register:newsCategoryUid}">|</div>
title_stdWrap.insertData=1

Can anybody help me out on this? (tt_news version used is 2.5.0 & TYPO3 
4.1.1)
Christoph 




More information about the TYPO3-project-tt-news mailing list