[Flow] Count table rows in Fluid Template f:for

Bastian Waidelich bastian at typo3.org
Thu May 7 13:49:42 CEST 2015


On 07.05.15, at 13:34, Patric Eckhart wrote:

Hi Patric,

> In my fluid template I have a for loop with a for loop in it like:
>
> <f:for each="{orders}" as="order">
> {order.name}, {order.moye}
> <f:for each="{orderpositions}" as="orderposition">
> {orderposition.name}, {orderposition.attry}
> </f:for>
> </f:for>
>
> Now I want to check if {order.name} is more than 1x in {orders}.

I don't exactly understand what you're trying to achieve. But if you 
can, add such logic to the model. It will make your life easier.


-- 
Bastian Waidelich


More information about the Flow mailing list