Switching Themes with PHP |
Switching Themes with PHP |
Dec 5 2005, 03:17 PM
Post
#1
|
|
![]() ^ Mrs. Jonas ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 592 Joined: Apr 2005 Member No: 263,313 |
The closest I got when searching was this, and it didn't help.
I'm working on another website, and want to be able to switch themes, and like Heather had said, switch it on all pages. It's NOT wordpress, by the way. I have header.inc and footer.inc, and then index.php which includes both. I know that I can make header2.inc and footer2.inc, but I don't know how to make some sort of dropdown where you can choose whether you want theme 1 or theme 2, and how to make it include the appropriate header and footer. I tried googling it, but only came up with Wordpress and B2 hacks, which isn't helping me at all. |
|
|
|
![]() |
Dec 6 2005, 10:16 AM
Post
#2
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
Just be aware that (well according to what people told me) it takes up alot of space sometimes. Im not exactly sure though. I wanted too but I think it might like take up all the space..
does it? |
|
|
|
Fabio. Switching Themes with PHP Dec 5 2005, 03:17 PM
mipadi Are you doing it for a general website? It's f... Dec 5 2005, 03:48 PM
Fabio. I think that's what I'm looking for. Let m... Dec 5 2005, 07:25 PM
Fabio. -sorry, double post- Dec 5 2005, 07:25 PM
insomniac are you looking for this: http://codegrrl.com/tuto... Dec 5 2005, 09:08 PM
Fabio. QUOTE(insomniac @ Dec 5 2005, 9:08 PM)are you... Dec 6 2005, 07:19 PM
mipadi QUOTE(Fabio. @ Dec 6 2005, 7:19 PM)DOES it af... Dec 6 2005, 07:26 PM
Heathasm oh, mel, i bookmarked the site i got my code from... Dec 6 2005, 04:12 AM
insomniac QUOTE(Heathasm @ Dec 6 2005, 4:12 AM)oh, mel,... Dec 6 2005, 09:15 AM
Heathasm no, not at all
its just a few lines of php and ext... Dec 6 2005, 01:39 PM
insomniac i dont want to steal lisa's bandwidth..
i ... Dec 6 2005, 05:36 PM
toyo loco ^ you should ask who knows her bandwith might not ... Dec 6 2005, 07:09 PM
insomniac how would you do this with wordpress?
....
im n... Dec 6 2005, 08:37 PM
Fabio. http://codegrrl.com/tutorials/php/skinning_your_si... Dec 6 2005, 09:04 PM
insomniac ^you use wordpress right?
how are you doing it? Dec 6 2005, 09:55 PM
Fabio. Well, I haven't adapted it to work with wordpr... Dec 6 2005, 10:48 PM
mipadi QUOTE(Fabio. @ Dec 6 2005, 10:48 PM)Here... Dec 6 2005, 10:54 PM
Fabio. QUOTE(mipadi @ Dec 6 2005, 10:54 PM)You have ... Dec 6 2005, 11:06 PM
insomniac QUOTE(Fabio. @ Dec 6 2005, 11:06 PM)Edit: Ahh... Dec 7 2005, 12:00 AM
insomniac michael, do you know how to make it work with word... Dec 6 2005, 10:56 PM
mipadi QUOTE(insomniac @ Dec 6 2005, 10:56 PM)michae... Dec 6 2005, 11:00 PM![]() ![]() |