[TYPO3-english] Alternative page rendering using tx_templavoila_pi1->main_record

Dmitry Dulepov dmitry.dulepov+t3ml at gmail.com
Tue Jan 26 10:59:34 CET 2010


On 2010-01-26 11:26:10 +0200, Andre Dittmar said:
> In my approach I try to override to normal page rendering with the 
> special method tx_templavoila_pi1->main_record, which should fulfill 
> exactly this requirement. In the end main_record() just prepare the 
> data, the method renderElement render each single content element. 
> Everything seems to be fine, but the method $this->markupObj- 
> >mergeFormDataIntoTemplateStructure() returns nothing (empty value).

This method is not for pages. For pages you have to use main_page().

Dmitry Dulepov
"Trust me, I am a doctor!" (c) Gregory House, M.D.

More information about the TYPO3-english mailing list