[TYPO3-german] news: list & detail auf einer Seite

Ralf Schlömer typo3 at ralfschloemer.de
Mon Oct 17 16:53:46 CEST 2016


Ah, danke Marek,

"Fallback for Detail-View" scheint mein Problem zu lösen.

> Am 17.10.2016 um 16:08 schrieb Marek <info at newsdesigner.de>:
> 
> 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 at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german



More information about the TYPO3-german mailing list