[TYPO3-english] Compare strings in fluid

Alexander Kuemmel alexander.kuemmel at gmail.com
Fri Sep 27 10:45:16 CEST 2013


Hi Jeppe,

AFAIK value comparison in fluid is possible according to the examples 
described here:

https://fedext.net/viewhelpers/fluid/IfViewHelper.html

or see the official wiki:

http://wiki.typo3.org/Fluid#f:if.2C_f:then.2C_f:else

(Could be a little outdated though)

Follow the trail to the for-ViewHelper and you should find some useful 
examples here:

https://fedext.net/viewhelpers/fluid/ForViewHelper.html

Kind regards,
Alex.

On 09/26/2013 02:16 PM, Jeppe Donslund wrote:
> Hi
>
> I would like to run through my elements in List.html
> If a string changes somthing should happen.
>
> for each
>     if( newstring != oldstring)
>      do something
>     end id
> end for
>
> is that possible?
>
>
>
> Best regards
> Jeppe Donslund
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list