Page 1 of 1
Theme system
Posted: Tue Mar 02, 2004 7:06 pm
by Shendemiar
I'd like to add a simple theme system to my site so users could select the outlook of the site.
I've done my site so far with html so xhtml solutions are out. I was thinking of selection of .css files, but is there any other way?
Is there any known library of "standerded" .css files that have the same classes insde?
How postnuke etc styles work? Is there a way to convert them to .css files?
Posted: Tue Mar 02, 2004 8:04 pm
by d3ad1ysp0rk
xhtml is just cleaner HTML.
theme = ...?
users select a theme?
Posted: Wed Mar 03, 2004 3:58 am
by McGruff
It's certainly possible to do that with CSS but I couldn't say how postnuke works.
Posted: Thu Mar 04, 2004 12:26 pm
by no_memories
I implemented a style switcher on my personal site;
developed by Mike Golding. Just look at my profile and click on the www icon to see how it works or go to the provided link for a complete tutorial on how to use it.
I'm looking into generating a PhP based cookie for this switcher and using little or no java (eventually having PhP switch the styles). Server side scripting seems to be much more reliable from what I can see my first month of learning to use PhP.
p.s. Mr. Golding does appreciate if you show him how you have implemented this style switcher.
Posted: Thu Mar 04, 2004 1:11 pm
by vigge89
i've done a skinbased layout on my site, where the skins are css-files. However, i havn't done a complete engine, so its only the colours, tablestyles, fonts etc... you can edit.
if you want to have a look at it,
http://www.vigge.net