[TYPO3] Math in TypoScript
Bertalan Fodor
berfod at organum.hu
Thu Feb 22 17:20:20 CET 2007
Good idea, but I'm not sure it will work the way I'd like to: setting
file.param in a GIFBUILDER
However, I'll check it.
Arjen Hoekema írta:
> Hi,
>
> You should also check out the "prioriCalc" function of "stdWrap". This
> allows you to calculate values using constants and use them in cObjects
> like TEXT or HTML, for example:
>
> CONSTANTS:
>
> globals {
> x = 3
> y = 5
> }
>
>
> SETUP:
>
> calculate = TEXT
> calculate.value = ({$globals.x} + {$globals.y} + 5) * 9
> calculate.prioriCalc = 1
>
> Note that the TEXT object is always put through the "stdWrap" function.
>
> Greetings,
>
> Arjen Hoekema
More information about the TYPO3-english
mailing list