[TYPO3-dev] $GLOBALS['TSFE']->additionalHeaderData and order
Popy
popy.dev at gmail.com
Mon Aug 6 14:43:40 CEST 2007
By sorting the array by yourself, or using array_splice to insert your JS
somewhere :)
2007/8/6, Steffen Kamper <steffen at sk-typo3.de>:
>
> 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
>
>
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
>
--
Popy
Vulnerant omnes, ultima necat.
http://popy.sytes.net
More information about the TYPO3-dev
mailing list