[TYPO3] cObj is not there.....

Marcel Trichét matri at freenet.fr
Thu Mar 16 23:08:01 CET 2006


Hi all,

just trying a little extension stuff.

In my main function I have:

$code = $this->cObj->fileResource($this->conf['templateFile']);


But when I debug code its _always_ empty!

$conf templatefile has the right file init. it also exists.

t3lib_div::debug($this->conf['templateFile']);
# this gives me the filename, that OK!

t3lib_div::debug($this->cObj->fileResource($this->conf['templateFile']));
# this gives me debug, thats not OK!


Seems like no cObj is present?!?!

Any suggetsions what I am missing?

P.S. I have T3.8.1 and using TV0.4.0 on my site....

Thanks



More information about the TYPO3-english mailing list