[TYPO3-dev] $GLOBALS['TSFE']->additionalHeaderData and order

Steffen Kamper steffen at sk-typo3.de
Mon Aug 6 14:39:53 CEST 2007


Hi,

i have an extension with some modules. In the basic module i include needed 
JS via $GLOBALS['TSFE']->additionalHeaderData
Now i set something in another module, which has to be after the basic 
include - I wasn't able to. I tried with array numbers like

$GLOBALS['TSFE']->additionalHeaderData[$this->prefixId][0]='...' #basic
$GLOBALS['TSFE']->additionalHeaderData[$this->prefixId][10]='...' #later

but it has no affect. I looked into fe-class and it seems to be a simple 
implode with chr(10), so why is my "later" addition included first ?
How can i control this best ?

thx,
vg  Steffen 






More information about the TYPO3-dev mailing list