[TYPO3-mvc] isFirst in fluid loop

Georg Schönweger georg.schoenweger at gmail.com
Thu May 5 14:51:20 CEST 2011


Hi Georg,

great, thank you!

- Georg

Am 05.05.2011 12:33, schrieb Georg Ringer:
> Hi,
>
> Am 05.05.2011 11:59, schrieb Georg Schönweger:
>> .. i know i could write my own viewHelper but would be nicer if it can
>> be handled with onboard methods ..
>
> always take a look a the samples in the viewhelper files. in this case:
> iteration="fooIterator"
>
> {f:if(condition: fooIterator.isFirst, then: ' First')}
>
> georg
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc


More information about the TYPO3-project-typo3v4mvc mailing list