[dokuwiki] userstyle.css image paths
- From: Michael Klier <chi@xxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Wed, 11 Apr 2007 14:34:25 +0200
Hi all,
I have a little question about the image URL handling in userstyle.css.
I use the userstyle.css often to make upgrade safe changes to the CSS of
plugins. In all other .css files the image paths are rewritten to a
certain directory (for example the image directory of the template).
Would it make sense to do something similar with image URLs in the
userstyle.css, say rewrite them to lib/images/userstyle/, so all your
extra stuff will be kept in one place? I mean you can put it in the
image folder of the template but in case you switch to another template
you are forced to move them again and it would make a template upgrade a
little more difficult. Or, you could simply put all the images into a
special directory below the DW root folder, but I think it would be
better to handle it like with all the other CSS.
Imagine someone would like to provide modified CSS for a plugin to match
certain templates but without breaking the upgrade process of either the
plugins or the templates.
Best Regards
Michi
PS.: If you like the idea I`ll prepare a patch ;-)
--
Michael Klier
mail: chi@xxxxxxxxxxx
www: http://www.chimeric.de
icq: 206179334
jabber: chi@xxxxxxxxxxxxx
key: http://downloads.chimeric.de/chi.asc
key-id: 0x8308F551
Other related posts:
- » [dokuwiki] userstyle.css image paths