[dokuwiki] Re: Error in css.php and js.php
- From: Chris Smith <chris@xxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Tue, 13 Jun 2006 09:39:18 +0100
Andreas Gohr wrote:
Chris Smith writes:
The March release allows substitutions in CSS. Some (many?) plugins
that provide their own styles may make use of the substitutions to
match the wiki colour scheme.
But AFAIR we agreed that this is bad style and plugins should not rely
on the existance of any of the replacement patterns in the default
template's style.ini because they may not be available in other
templates.
I don't recall that. I can understand why it makes sense, however if a
plugin makes use of colour it needs some mechanism to merge with those
of the chosen template and hooking into some basic set of substitutions
seems better to me than requiring the wiki admin to edit the plugin
style.css.
Perhaps a minimum set of substitutions should be defined - using
meaningful names.
e.g.
__background__
__background_hilight__
__text__
__text_hilight__
__border__
or allow some CSS substitutions to be defined in local.php
$conf['css']['background'] = ...;
Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- References:
- [dokuwiki] Error in css.php and js.php
- From: vlq
- [dokuwiki] Re: Error in css.php and js.php
- From: Andreas Gohr
- [dokuwiki] Re: Error in css.php and js.php
- From: vlq
- [dokuwiki] Re: Error in css.php and js.php
- From: Chris Smith
- [dokuwiki] Re: Error in css.php and js.php
- From: vlq
- [dokuwiki] Re: Error in css.php and js.php
- From: Chris Smith
- [dokuwiki] Re: Error in css.php and js.php
- From: Andreas Gohr
Other related posts:
- » [dokuwiki] Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
Chris Smith writes:
The March release allows substitutions in CSS. Some (many?) plugins that provide their own styles may make use of the substitutions to match the wiki colour scheme.
But AFAIR we agreed that this is bad style and plugins should not rely on the existance of any of the replacement patterns in the default template's style.ini because they may not be available in other templates.
Chris -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist
- [dokuwiki] Error in css.php and js.php
- From: vlq
- [dokuwiki] Re: Error in css.php and js.php
- From: Andreas Gohr
- [dokuwiki] Re: Error in css.php and js.php
- From: vlq
- [dokuwiki] Re: Error in css.php and js.php
- From: Chris Smith
- [dokuwiki] Re: Error in css.php and js.php
- From: vlq
- [dokuwiki] Re: Error in css.php and js.php
- From: Chris Smith
- [dokuwiki] Re: Error in css.php and js.php
- From: Andreas Gohr