[TYPO3-core] RFC: 0002901: API needed to write HTML tags into the FE header tags directly

Franz Holzinger franz at fholzinger.com
Fri Mar 17 17:00:21 CET 2006


René Fritz a écrit :

>>        global $TSFE, $GLOBALS;
>>...
>>        $GLOBALS['TSFE']['tx_ttproducts-js'] = $code;
>>    
>>
>Sorry, but do you know what you're doing?
>  
>
Hello, I have had written the solution already:

>However
>$GLOBALS['TSFE']->additionalHeaderData['tx_ttproducts-js'] = $code;
>works.



Dimitry:
Thanks. And it would be of help if you or I still could write an API to this. Just because it is a better programming method not to have to search inside of the code and to access internal variables from outside.


- Franz










More information about the TYPO3-team-core mailing list