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

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Thu Aug 9 13:40:56 CEST 2007


Georg Ringer schrieb:
> JoH asenau wrote:
>> Are you using it inside a USER/USER_INT or as stdWrap.whateverFunc?
> 
> you are just excellent! It doesn't work in a USER_INT.
> 
> is there are an explanation for it?

I gues that you don't have the rendering context with the the default TS 
for that table.

Try to get the ususal setup in your plugin via the plugins TS:

plugin.myplugin {
   obj = RECORDS
   obj.tables = tt_content
   obj.source = 151,99,113,199,163,208
   obj.dontCheckPid = 1
   obj.conf.tt_content < tt_content
}

And render with $this->cObj->cObjGetSingle($conf['obj'],$TS['obj.']);

Masi




More information about the TYPO3-dev mailing list