Project

General

Profile

Actions

Bug #19144

closed

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

Added by Cyrill Helg over 16 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-07-23
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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)

Actions

Also available in: Atom PDF