[TYPO3-english] Assign dynamic value to a TypoScript int data type

Francois Suter fsuter at cobweb.ch
Mon Nov 3 12:12:44 CET 2008


Hi,

> For example I have this int datatype path:
> 
> lib.pbimagegraph.10.........10.x=5
> lib.pbimagegraph.10.........10.y=5
> Could I replace the contstants 5 with dynamic content?

It all depends on the data type of these x and y values. If they are 
simple integers, you're out of luck. All you could do is use constants. 
If they are cObject or stdWrap then there are solution. Given that the 
example below does not work, they are certainly not cObject's.

Refer to the extension's manual to find out the data type of these 
propreties.

> For example I 
> tried this without result:
> test=TEXT
> test.value=5
> test.intval=1
> #and then
> lib.pbimagegraph.10.........10.y<test.value

This will work only if "y" is also a cObject.

HTH

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-english mailing list