Bug #19850
closedPrint PAGE.headerData before PAGE.includeJS
0%
Description
It's be a better solution to print the headerData output before the
includeJS files are printed imho - so it would be possible to use
typoscript-generated javascript objects/variables immediately in
the followed scripts set in includeJS.
At present the headerData is printed out after the includeJS Files,
so it is not easily possible to use generated javascript variables etc.
in the files which were included by includeJS.
(issue imported from #M10180)
Files
Updated by Chris topher over 14 years ago
This is possible now with the preRenderHook in pageRenderer using:
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_pagerenderer.php']['render-preProcess']
Also see here:
http://lists.typo3.org/pipermail/typo3-project-4-3/2009-November/002309.html
Resolved as duplicate of #21567.