Totoquil Posted June 11, 2011 Share Posted June 11, 2011 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. Link to comment Share on other sites More sharing options...
yatin Posted June 29, 2011 Share Posted June 29, 2011 You can use smarty for this, it will resolve your problem. Link to comment Share on other sites More sharing options...
birbal Posted June 29, 2011 Share Posted June 29, 2011 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.