[TYPO3-english] Render textpic content from ajax

Tomas Havner tomas.havner at kansli.lth.se
Thu Nov 27 11:38:34 CET 2014


Hi,

In my eid-file I'm trying:

$cObj = t3lib_div::makeInstance('tslib_cObj');
$conf['tables'] = 'tt_content';
$conf['source'] = uid of tt_content element;
$conf['dontCheckPid'] = 1;
return $cObj->cObjGetSingle('RECORDS', $conf);

text-elements och html-elements works fine, but textpic only returns the 
header.

When I'm trying the exact same code in a pi1-file it renders textpic 
just fine.

I'm obviously missing something here, but I have googled for days and 
have come up with nothing.

Any help is appreciated.

Regards

Tomas


More information about the TYPO3-english mailing list