[Flow] Fluid: How to count?

Stephen Bungert stephenbungert at yahoo.de
Mon Nov 4 15:14:19 CET 2013


Hi Bernd,

I'm using flow not neos, the VH was made quite quickly and is ok for my 
needs, but it would be easy for axel to change to suit his, or me if my 
needs change ;)

Stephen.


"bernd wilke" <t3ng at bernd-wilke.net> schrieb im Newsbeitrag 
news:mailman.1.1383573112.3145.flow at lists.typo3.org...
> 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 




More information about the Flow mailing list