[TYPO3-mvc] pre-render partial in controller and put it in footerData?

Kay Strobach typo3 at kay-strobach.de
Tue Apr 17 18:38:34 CEST 2012


Hi Gerhard,

use a custom viewHelper, which renders the children and then user

$GLOBALS['TSFE']->addAdditionalFooterData(..)

Regards
Kay

Am 17.04.2012 18:09, schrieb Gerhard Mehsel:
> Hi,
> 
> I have to put some Javascript into the page footer. Is it possible to
> pre-render a partial in Extbase controller and put it to the bottom of
> the generated page with
> $GLOBALS['TSFE']->additionalFooterData['ballaballa1'] = ... or
> $this->response->addAdditionalFooterData(..)
> 
> (the later is buggy at the moment I think)
> 
> 
> So the questions is: what's the best way to pre-render a partial for
> further use in controller?
> 
> 
> Regards,
> gerd


-- 
http://www.kay-strobach.de - Open Source Rocks

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org

Answer was useful: https://flattr.com/profile/kaystrobach


More information about the TYPO3-project-typo3v4mvc mailing list