[TYPO3-dev] FLUID

Ludwig Rafelsberger ludwig.rafelsberger at gmx.at
Tue Jun 28 08:58:38 CEST 2016


Hi Aleksandra,

your task is unclearly worded. Do you want to:

- count a "set" variable (an array, an ObjectStorage…): then use {myFluidVariable -> f:count()}

- increase ("count up") a numeric (already-"set") variable? Then think twice if the view should really do that. If so, you could use the math.sum viewhelper from the vhs extension. [1]

Cheers, Ludwig

[1] https://fluidtypo3.org/viewhelpers/vhs/master/Math/SumViewHelper.html



Am 27. Juni 2016 21:25:43 MESZ, schrieb Aleksandra Canbolat <aleksandra.canbolat at web.de>:
>Hello!
>
>Could someone please tell me if its possible to count up a set variable
>in FLUID?
>I am not an expert in Typo3 so I would really appriciate if someone
>could help me.
>
>Thanks
>Aleks
>_______________________________________________
>TYPO3-dev mailing list
>TYPO3-dev at lists.typo3.org
>http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev



More information about the TYPO3-dev mailing list