[TYPO3-german] tx_news tags als classe ausgeben

Christian Hager christian.hager at connexgroup.net
Thu Aug 20 14:06:02 CEST 2015


Hallo Leute,
irgendwie raff ich das nicht.

In der item.html steht dies hier drin:
<divclass="article articletype-{newsItem.type}{f:if(condition: 
newsItem.istopnews, then: ' topnews')}">

Egal was ich da mache,
entweder es passiert rein gar nichts oder er schreibt mir alles 
hardcodiert rein.

<divclass="article {tag.title} 
articletype-{newsItem.type}{f:if(condition: newsItem.istopnews, then: ' 
topnews')}">

<f:ifcondition="{newsItem.tags}">
<!-- Tags -->
<spanclass="news-list-tags"itemprop="keywords">
<f:foreach="{newsItem.tags}"as="tag">
{tag.title}
</f:for>
</span>
</f:if>

Kann mir da jemand weiter helfen?

Vielen Dank und lg,
`Chris

-- 
Mit lieben Grüßen

Christian HAGER
Online-Services



More information about the TYPO3-german mailing list