Geuis Teses wrote: > Yeah, I can definitely do that. However, looking through some of the > include templates, it looks like the templates for each page have the > stylesheet links hardcoded. This doesnt make a lot of sense, though.
Not all templates include the same css files. This is why these are currently inserted hardcore. You take all common header code out af the templates and create an inlcude file. This one can be inserted by using <roundcube:include file="/includes/head.html" /> as we do with the bottom taskbar. Note: all absolute paths (starting with /) will be complemented with the correct path to the skin direcotry. > > I'm sure there's a single header file or something similar used for all > the pages in the webmail client, as would be normal with a web > application. I just want to do the include in the proper place so that > when I upgrade the client in the future I dont have to go back and redo > a lot of code. If you have your own skin, this should work with all future versions of RoundCube without any changes. You just have to add the new functions after a release. Thomas > > On 10/17/05, *Praneet Kandula* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > You might just try to do an inline CSS include using @import in one of > your css files. > > @import url('relative/path/goes/here'); > > On 10/17/05, Geuis Teses <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > I've duplicated the default skins folder and changed the main > config file to > > point to it. That works. > > > > I'm trying to include a new stylesheet. Where do I find the file > that I can > > add the include to? > > > > -Geuis > > > > > > > > > > -- Brückfeldstrasse 10a / CH-3012 Bern / Phone +41-31-301 05 29 GnuPG public key http://brotherli.ch/public-key
