[TYPO3-english] Render textpic in extension

Tomas Havner tomas.havner at kansli.lth.se
Tue Aug 16 09:55:24 CEST 2011


  Greetings

I'm trying to render a textpic-element in my extension. What I got so 
far is:

$TS['conf'] = 'IMGTEXT';
             $TS['conf.']['text.']['10'] = 'TEXT';
             $TS['conf.']['text.']['10.']['value'] = $bodytext;
             $TS['conf.']['textPos'] = 17;
             $TS['conf.']['imgList'] = $imgList;

$myCObj = new tslib_cObj();
$content = $myCObj->cObjGetSingle($TS['conf'],$TS['conf.']);

But it's only render text in tables without any images.

Would appreciate any help.

Tomas


More information about the TYPO3-english mailing list