[TYPO3-mvc] footer equivalent for addAdditionalHeaderData

Tim Schoch | GSTALTIG tim.schoch at gstaltig.ch
Fri Nov 18 15:45:11 CET 2011


You could put it in a .js file and include it with TypoScript:
page.includeJsFooter.yourext = EXT:yourext/Resources/Public/JavaScript/yourext.js
This doesn't work though if you want to manipulate the script in extbase/fluid first.

Did not test this:
maybe you can just place it inline (eg. a partial) and use scriptmerger (@see TER) and to merge inline javascript to a single
file at the bottom of your code.

Tim


More information about the TYPO3-project-typo3v4mvc mailing list