[TYPO3-english] Assign dynamic value to a TypoScript int data type
fsuter at cobweb.ch
Mon Nov 3 13:41:30 CET 2008
> I tried to render this extension (pbimagegraph) using PHP to set up the
> extension's TypoScript directly in php.
Hmm, I don't know this extension... but let's see.
> So I used this code (as described in Dmitry's Book)
> $cObj = t3lib_div::makeInstance('tslib_cObj');
Well, if it comes from Dmitry's book it's probably a good suggestion :-)
but I wouldn't do it that way (there are generally several ways of doing
things). My impression is that your generated TS configuration is
Why not do something like that in your plugin's TS
graph < plugin.tx_pbimagegraph_pi1
Then in your code:
By copying the complete tx_pbimagegraph_pi1 object you are sure not to
> But unfortunately I got this error:
> Fatal error: Call to a member function _setParent() on a non-object in
> ......... on line 203
The origin of the error is some object was not properly instantiated so
that it's _setParent() method cannot be called. But that's probably
interal to pbimagegraph and I can't help you there.
Cobweb Development Sarl - http://www.cobweb.ch
More information about the TYPO3-english