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

JoH asenau info at cybercraft.de
Thu Aug 9 13:20:05 CEST 2007


>> These are usually rendered using the plugin.whatever section of the
>> TS tree and I guess this is not available as well. You have to make
>> sure that all the necessary parts of the TS tree will be available
>> if you want to render anything based on "hardcoded" TS as shown in
>> your example.
>
> The TS is all included, eg. ve_guestbook just has got an
> ext_typoscript_setup.txt and is loaded anyways.
>
> I just don't get it why "insert records" works on the same page (so
>   same TS settings) and same $conf because hardcoded in core code
> (for testing).
>
> any ideas?

It depends on the context.

How is your PHP code implemented?
Are you using it inside a USER/USER_INT or as stdWrap.whateverFunc?

When is it executed?

Is the TS tree available when the PHP code is executed?
If not, there will be no default setup for conf.tt_content, so nothing gets
rendered.

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
openBC/Xing: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com






More information about the TYPO3-dev mailing list