[TYPO3-dev] eID with cObj
Wolfgang Klinger
wolfgang at stufenlos.net
Wed Jun 13 11:53:03 CEST 2007
*hiya!*
Georg Ringer wrote:
> THe current code is a little bit messy but should be understandable:
> http://phpfi.com/241369
> Error-msg: Fatal error: Call to a member function on a non-object in
> the following line:
> $img = $GLOBALS['TSFE']->cObj->IMAGE($imgTSConfig);
you will have to create a valid tslib_cObj (that's the name of the class
defined in tslib/class.tslib_content.php) object.
Should work with
$GLOBALS['TSFE']->newCObj();
if not take a look at tslib/class.tslib_fe.php how it's done there...
hth, bye
Wolfgang
More information about the TYPO3-dev
mailing list