Theme system

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
Shendemiar
Forum Contributor
Posts: 404
Joined: Thu Jan 08, 2004 8:28 am

Theme system

Post 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?
Last edited by Shendemiar on Tue Mar 02, 2004 9:28 pm, edited 1 time in total.
d3ad1ysp0rk
Forum Donator
Posts: 1661
Joined: Mon Oct 20, 2003 8:31 pm
Location: Maine, USA

Post by d3ad1ysp0rk »

xhtml is just cleaner HTML.

theme = ...?

users select a theme?
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

It's certainly possible to do that with CSS but I couldn't say how postnuke works.
User avatar
no_memories
Forum Contributor
Posts: 145
Joined: Sun Feb 01, 2004 7:12 pm
Location: New York City

Post 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.
User avatar
vigge89
Forum Regular
Posts: 875
Joined: Wed Jul 30, 2003 3:29 am
Location: Sweden

Post 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
Post Reply