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

Karsten Dambekalns karsten at typo3.org
Mon Jul 23 11:49:59 CEST 2007


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.

I am stumped as to why this happens, and have alreday ruled out caching
as a reason, by setting up jm_gallery with and without caching.

I found only one reference to the same problem on the net, see
http://lists.netfielders.de/pipermail/typo3-dev/2006-March/017043.html


Does anyone have a clue? Any help would be really appreciated.

Regards,
Karsten

PS: Yes, this is not about developing the TYPO3 core. But to me it seems 
this might be a (rarely seen) bug in the core, thus I decided to ask 
here as well...




More information about the TYPO3-dev mailing list