Issue Bug Closed

#19144order of $GLOBALS['TSFE']->additionalHeaderData with two or more extension is not controllable / changes when cache is enabled

Cyrill Helg 07/23/08, 22:44 updated 09/09/13, 09:43

Description

I’m writing on an extension that depends on a library extension. In the lib
ext, the js is added with $GLOBALS[‘TSFE’]->additionalHeaderData[‘foo’]. I do
that as well in my ext, but the code from ext is before the library so it
fails…

How can I control that order? The strange thing is that the lib extension
is “loaded” after my extension, although in the ext list its after the lib
ext, or what actually controls the order of the loaded extensions?

The thing is that if I disable caching of the plugin, it works as expected,
but I can’t succeed with caching enabled. Thats why I report this here as a bug and because I never got an answer on the mailing list. (typo3-dev)

(issue imported from #M9036)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.