chnage page template on the fly (via url get for example)
-
Hi, I’d like to know if it’s possible to change the page template on the fly, ie when I have 2 page templates: “With Sidebar” and “Without Sidebar” and I have a page called “Info” which is set to use the page template “With Sidebar”, and it’s got a permalink like this: https://site.com/info/. Now, what I want to do is this: I create a link like this https://site.com/info/?tpl=Without%20Sidebar or somethiing similar, that would force the page to use the “Without Sidebar” Template instead – and all this without changing any values in the database. Is this currently possible?
- The topic ‘chnage page template on the fly (via url get for example)’ is closed to new replies.