Jump to content
Sign in to follow this  
Totoquil

Switch Between Two Different Templates

Recommended Posts

Oops, can someone move this to the PHP forum. O.oLet me see if I can explain this right. I want to know if there is a way to switch between two completely different templates. Like, say I have one template that has a vertical menu on the left and a drop down menu at the top. Then, I have a template that has a vertical menu on each side. I thought about having a div for content on one page and then using PHP includes to call in the the templates, but I don't know how to make it so users can choose between the one they see.

Edited by Dire_Wolf

Share this post


Link to post
Share on other sites
but I don't know how to make it so users can choose between the one they see.
You can make a form where user can submit the option for template. then you can store the option in session or cookie and can load it depending on the selected option.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...