[Flow] Fluid: How to count?

David Sporer david.sporer at gmail.com
Mon Nov 4 14:57:35 CET 2013


Then I guess you're using Neos because there's no TypoScript in Flow by default.

Regards
David

> Am 04.11.2013 um 14:55 schrieb bernd wilke <t3ng at bernd-wilke.net>:
>
> Am 04.11.13 13:17, schrieb Stephen Bungert:
>> This is my viewhelper, in case it helps:
>>
>> https://gist.github.com/riscos/7301689
>
> very restrictive :(
>
> you can be more flexible with typoscript:
>
> lib.math = TEXT
>  lib.math {
>  current = 1
>  prioriCalc = 1
> }
>
> <f:format.number thousandsSeparator="."
>                 decimalSeparator=","
>                 decimals="1">
>    <f:cObject typoscriptObjectPath="lib.math"
>               data="{dlFile.originalResource.size}/1024/1024" /> MB
> </f:format.number>
>
> or:
> <v:var.set name="total_width" value="{f:cObject(typoscriptObjectPath:'lib.math',data:'{total_width}+{actual_width}')}" />
>
> bernd
> --
> http://www.pi-phi.de/cheatsheet.html
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow


More information about the Flow mailing list