[TYPO3-dev] Rendering of cObj->cObjGetSingle && cObj->RECORDS

Georg Ringer mail-spam at ringerge.org
Thu Aug 9 09:29:55 CEST 2007


Hello,

I got a strange problem with the cObj RECORDS & cObjGetSingle because 
the content of plugins doesn't get displayed but it works with plain TS

TS which works:
page.10.subparts.TPL_CONTENT = RECORDS
page.10.subparts.TPL_CONTENT {
tables = tt_content
source = 151,99,113,199,163,208
dontCheckPid = 1
}
========
PHP which doesn't work:

$TS['conf'] = 'RECORDS';
$TS['conf.']['tables']='tt_content';
$TS['conf.']['source'] = '151,99,113,199,163,208';
$TS['conf.']['dontCheckPid'] = 1;
$content = $this->cObj->cObjGetSingle($TS['conf'],$TS['conf.']);

or

$conf = array('tables' => 'tt_content','source' => 
'151,99,113,199,163,208','dontCheckPid' => 1);
$content = ($this->cObj->RECORDS($conf));

=====

Just the header gets displayed but not the content of tt_news or any 
extension (except my rgsmoothgallery).
I checked the included static from extension and the order in the 
extList of localconf.php

Any other hints are very welcome - please help, thanks!
Georg Ringer




More information about the TYPO3-dev mailing list