[TYPO3-dev] JSeventFunctions() called before plugin code is executed

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Mon Jul 23 12:54:43 CEST 2007


Karsten Dambekalns schrieb:
> Hi.
> 
> Maybe someone can help me out.
> 
> In class.t3lib_pagegen.php one finds the method JSeventFunctions() which
> builds a JavaScript function to be called on page load and can then
> execute multiple onload calls from various extensions.
> 
> Worked fine so far with jm_gallery. Now it stopped working. I debugged a
> little and found out that JSEventFunction() is called, but already
> before jm_gallery adds it's JS to the $GLOBALS['TSFE']->JSeventFuncCalls
> array.

Is it a USER or a USER_INT? The whole header creation handling doesn't work 
for USER_INTs as it is cached right away.

Masi




More information about the TYPO3-dev mailing list