[TYPO3-dev] includeJS from frontend plugin

Xavier Perseguers typo3 at perseguers.ch
Sun Sep 14 11:38:19 CEST 2008


Hello,

How may I include a JS (in <head>) from my plugin content generation method?

I do not want to force my users to create a template extension and 
manually add it whenever they use my plugin on a given page.

If it's not possible, I'll add a <script> block before my content but it 
won't be as nice as it will be added once for each of my plugin on that 
page.

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en




More information about the TYPO3-dev mailing list