[TYPO3-english] Assign dynamic value to a TypoScript int data type
vrodrigues at gmail.com
Mon Nov 3 13:16:15 CET 2008
Thank you Francois, I lost one day searching for this :)
I tried to render this extension (pbimagegraph) using PHP to set up the
extension's TypoScript directly in php.
So I used this code (as described in Dmitry's Book)
$cObj = t3lib_div::makeInstance('tslib_cObj');
But unfortunately I got this error:
Fatal error: Call to a member function _setParent() on a non-object in
......... on line 203
Any ideas what's wrong?
Thank u again!
O/H Francois Suter έγραψε:
>> For example I have this int datatype path:
>> 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
>> For example I tried this without result:
>> #and then
> This will work only if "y" is also a cObject.
More information about the TYPO3-english