Hey all,
I'm looking for a block that allows each user to select an option from a dropdown menu, or something of the sort, that changes the theme of the website for their viewing.
Does anyone know where I can find this?
(Using PHP Nuke)
Cant find code for Block for User to choose their own theme
Moderator: General Moderators
-
kettle_drum
- DevNet Resident
- Posts: 1150
- Joined: Sun Jul 20, 2003 9:25 pm
- Location: West Yorkshire, England
well, my guess would be of course, to use CSS. Have the theme chosen by the user in their user account. Then, when displaying a page, retrieve that theme name from the db, and use the appropriate CSS stylesheet.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.