Change a Page Template with GET parameters
Permalink
Hi,
I will change a page template with GET paramters.
Like this:http://hostname.com/changetemplate.php?cID=68&templatedesign=4...
The paramter templatedesign is a value of the database. It is the template ID of the table pagetheme.
Now my problem. I can change the template ID in the database, but it didn't change the template on a page. I have check everything, but nothing helps.
If I click as a registered user on the "edit page" button they change the template like it is in the database. Also like I will have it, but only if I click on this button.
Can someone help me? Have I forgot something or is it maybe impossible to do?
I hope my english is not to bad and everybody can understand what my problem is.
Thanks for your help.
I will change a page template with GET paramters.
Like this:http://hostname.com/changetemplate.php?cID=68&templatedesign=4...
The paramter templatedesign is a value of the database. It is the template ID of the table pagetheme.
Now my problem. I can change the template ID in the database, but it didn't change the template on a page. I have check everything, but nothing helps.
If I click as a registered user on the "edit page" button they change the template like it is in the database. Also like I will have it, but only if I click on this button.
Can someone help me? Have I forgot something or is it maybe impossible to do?
I hope my english is not to bad and everybody can understand what my problem is.
Thanks for your help.