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

Marek info at newsdesigner.de
Mon Oct 17 16:08:08 CEST 2016


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


More information about the TYPO3-german mailing list