[TYPO3-dev] eID with cObj

Jerome Schneider j.schneider at ameos.com
Wed Jun 13 13:46:32 CEST 2007


Hello Georg,

you should include these in top of your eID script:

require_once(PATH_tslib . "class.tslib_content.php");
require_once(PATH_t3lib . "class.t3lib_stdgraphic.php");
require_once(PATH_tslib . "class.tslib_gifbuilder.php");


and then make something like:

$myCObj = new tslib_cObj();
$mycObj->IMAGE($imgTSConfig);


Hope this helps,
Jerome Schneider

Georg Ringer a écrit :
> Hello,
> 
> eID is very nice but I've got a problem with including a cObj->IMAGE in it.
> 
> 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);
> 
> Please help (for another nice extension)!
> thanks
> georg




More information about the TYPO3-dev mailing list