[TYPO3-english] Render MEDIA content from PHP
Fabrice Morin
fmo at sword.eu
Thu Jun 13 16:55:51 CEST 2013
Hi,
I'm trying to render media content from PHP using cObjGetSingle function :
$conf = array(
'table' => 'tt_content',
'select.' => array(
'uidInList' => 123
)
);
return $this->cObj->cObjGetSingle('CONTENT', $conf);
But it always return TEXT content (i.e. bodytext column from tt_content table, instead of the expected media markup).
What am I doing wrong ?
Thanks.
More information about the TYPO3-english
mailing list