Switching Themes with PHP |
Switching Themes with PHP |
![]()
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. |
|
|
![]() |
![]()
Post
#2
|
|
![]() ^ Mrs. Jonas ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 592 Joined: Apr 2005 Member No: 263,313 ![]() |
I think that's what I'm looking for. Let me try it out later this evening and I'll tell you if that works (so don't close this yet, ever-helpful mods). But I do think that should work.
Also, thanks for telling me about the .inc files. The tutorial I used for converting to PHP just said to use that, so thanks for telling me about the security risks! |
|
|
![]() ![]() |