[dokuwiki] output a script header from a plugin (was: Template thoughts)
- From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Wed, 29 Nov 2006 09:12:24 +0100
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
- Follow-Ups:
- References:
- [dokuwiki] Re: Template thoughts
- From: Mr Anchovy
- [dokuwiki] Re: Template thoughts
- From: Chris Smith
- [dokuwiki] Re: Template thoughts
- From: TNHarris
Other related posts:
- » [dokuwiki] output a script header from a plugin (was: Template thoughts)
- » [dokuwiki] Re: output a script header from a plugin (was: Template thoughts)
- » [dokuwiki] Re: output a script header from a plugin (was: Template thoughts)
Also, how would a plugin output a <script> tag in the HTML header? I don't see an easy way to do this currently.
- [dokuwiki] Re: Template thoughts
- From: Mr Anchovy
- [dokuwiki] Re: Template thoughts
- From: Chris Smith
- [dokuwiki] Re: Template thoughts
- From: TNHarris