[TYPO3-mvc] if-ViewHelper - Multiple conditions with logical and/or?
David Schreiber
flashmasterdash at gmail.com
Sat Jan 30 08:54:20 CET 2010
Hello everybody,
I can't figure it out, regardless of how deep I dig into the fluid
core.
Is it possible to link multiple conditions of an if-ViewHelper with
logical operators like || or && ?
I wan't to do something like this:
<f:if condition="{object.value1} || {object.value2}">
<!-- do something -->
</f:if>
This would need much less lines of code than an equivalent nesting of
different then / else blocks.
Thanks,
David Schreiber
More information about the TYPO3-project-typo3v4mvc
mailing list