[TYPO3-german] tx_news
d.ros
projects at r-system.de
Mon Aug 3 12:36:42 CEST 2015
Am 03.08.2015 um 12:03 schrieb Michael Müller:
> Hallo David,
> kannst du mir den kompletten block schreiben wie das gehen soll ich habe
> jetzt einiges versucht aber so geht das bei mir auch nicht.
> {f:for(each:'{newsItem.categories}', as:'category') cat-{category.uid}
>
> Cheers Michael
so geht es auch inline:
<div class="{f:if(condition: category.isLast, then:
'cat-{category.uid}', else: 'cat-{category.uid} ') ->
f:for(each:'{newsItem.categories}', as:'category')}">bla</div>
Cheers
More information about the TYPO3-german
mailing list