Wenn Du nur eine andere Darstellung benötigst, dann so:

<div class="article articletype-{newsItem.type}{f:if(condition: newsItem.istopnews, 
then: ' topnews')}"
 <f:if condition="{iterator.cycle} == 1">
        <f:then>
                Erste Nachricht mit anderer Formatierung
        </f:then>
        <f:else>
                <f:then>
                        <f:if condition="{iterator.cycle} > 3">
                                Nachricht 2 und 3
                        </f:then>
                        <f:else>
                                Übrige Nachrichten
                        </f:else>
                </f:if>
        <f:else>
 </f:if>
</div>

Ansonsten so:

https://github.com/georgringer/news-documentation/blob/master/Documentation/AdministratorManual/BestPractice/IntegrationWithTypoScript/Index.rst
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an