[Flow] Fluid Template if AND/OR
Bastian Waidelich
bastian at typo3.org
Thu Mar 19 13:28:29 CET 2015
On 18.03.15, at 20:17, Patric Eckhart wrote:
Hi Patric,
> is there a solution to AND/OR conditions in fluid template like
> <f:if condition="{object.first} || {object.second}">
This is currently not possible as Aske pointed out.
But you should really think twice whether you want to have such logic in
the view anyways. E.g. you could easily move the condition into the
domain and write
<f:if condition="{object.firstOrSecond}">
Now, this is a bad example of course - would be interesting to see your
actual use case.
Best,
--
Bastian Waidelich
More information about the Flow
mailing list