[dokuwiki] Re: Template thoughts
- From: "TNHarris" <telliamed@xxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Tue, 28 Nov 2006 20:12:57 -0500
On Sun, 26 Nov 2006 15:13:16 +0000, "Chris Smith" <chris@xxxxxxxxxxxxx>
said:
> if (@file_exists(DOKU_TPL.'html.php')
> require_once (DOKU_TPL.'html.php');
> else
> require_once(DOKU_INC.'inc/html.php);
What a pain this would be to keep templates in-synch with the
mainstream.
tpl_metaheaders builds an array with the builtin headers, then calls the
plugins to add or modify the array. I suggest extending that concept to
work with all the output blocks. Or at least, the forms.
Also, how would a plugin output a <script> tag in the HTML header? I
don't see an easy way to do this currently.
-- tom
telliamed@xxxxxxxxxxx
--
http://www.fastmail.fm - IMAP accessible web-mail
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] output a script header from a plugin (was: Template thoughts)
- From: Andreas Gohr
- References:
- [dokuwiki] Re: Template thoughts
- From: Mr Anchovy
- [dokuwiki] Re: Template thoughts
- From: Chris Smith
Other related posts:
- » [dokuwiki] Template thoughts
- » [dokuwiki] Re: Template thoughts
- » [dokuwiki] Re: Template thoughts
- » [dokuwiki] Re: Template thoughts
- » [dokuwiki] Re: Template thoughts
- » [dokuwiki] Re: Template thoughts
- [dokuwiki] output a script header from a plugin (was: Template thoughts)
- From: Andreas Gohr
- [dokuwiki] Re: Template thoughts
- From: Mr Anchovy
- [dokuwiki] Re: Template thoughts
- From: Chris Smith