[TYPO3-german] tx_news tags als classe ausgeben

d.ros projects at r-system.de
Mon Aug 3 16:29:12 CEST 2015


Am 29.07.2015 um 11:54 schrieb Christian Hager:
> Hallo Leute,
> besteht die Möglichkeit das Tags, sofern welche eingebunden wurden bei
> der Listenansicht als classe eingefügt werden?
>
>
> <divclass="article (tagliste) articletype-....
>
> Der Vorteil wäre,
> ich könnte bei isotope dann den ganzen article container ausblenden wenn
> der tag nicht vorhanden ist.
>
> Könnt ihr mir da weiter helfen?
>

<div class="{f:if(condition: tag.isLast, then: 'tag-{tag.uid}', else: 
'tag-{tag.uid} ') -> f:for(each:'{newsItem.tags}', as:'tag')}">bla</div>

Cheers
David



More information about the TYPO3-german mailing list