[dokuwiki] output a script header from a plugin (was: Template thoughts)

TNHarris writes:

Also, how would a plugin output a <script> tag in the HTML header? I
don't see an easy way to do this currently.

For sourcing your own script you won't need it. Just place a script.js into the plugin directory and it will delivered through the js.php dispatcher. If you really need an own script tag for adding inline script have a look at the badbehaviour plugin as an example.

Andi
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: