[TYPO3-dev] Need little help for including inlineJS and js file in header

Stefan Kruse besucher80 at gmx.de
Tue Oct 8 10:32:12 CEST 2013


Hi,
i need to include some inlieJs in the header where i define some variables. But after that i need to include one css file.
Something like that.


<script>
  var a = 'fd';
 var b = 'rtr';
</script>

<script src="path/to/file.js"></script>

Is the only way to do this with headerData or is there another better way? 

Thanks Stefan



More information about the TYPO3-dev mailing list