Template Switcher
Started by Nick_NP, Jul 23 2005 09:23 AM
27 replies to this topic
#21
Posted 23 March 2009 - 10:51 AM
Thanks Cris!
So a feature that can set template preferences for a user (via session or cookies) hasn't been implemented yet, right?
So a feature that can set template preferences for a user (via session or cookies) hasn't been implemented yet, right?
#22
Posted 14 April 2009 - 12:36 PM
On weird thing I noticed while trying to get this to work is, that when I manually add a ?tpl=15 to the URL of my pages, only the pages using the default template recognize that they're supposed to use template no. 15. All other pages using a different template completely ignore this $_GET input.
Is that a bug or a feature?
Is that a bug or a feature?
Edited by Psycho Mantis, 14 April 2009 - 12:41 PM.
#23
Posted 14 April 2009 - 03:05 PM
Psycho Mantis, on Apr 14 2009, 08:36 AM, said:
On weird thing I noticed while trying to get this to work is, that when I manually add a ?tpl=15 to the URL of my pages, only the pages using the default template recognize that they're supposed to use template no. 15. All other pages using a different template completely ignore this $_GET input.
Is that a bug or a feature?
Is that a bug or a feature?
#24
Posted 14 April 2009 - 03:53 PM
Ralph, on Apr 14 2009, 05:05 PM, said:
Not a bug... It was done intentionally... It would be risky to have it change all template asignments across the board because then things like blank templates or XMLHttpRequest templates would be changed...
Hm...but that makes a template switcher for multiple templates that remembers the settings esessitially impossible to achieve?!
Would you characterize the risk of having blank templates as major security risk (don't know to much about PHP security)?
#25
Posted 14 April 2009 - 04:26 PM
Quote
Would you characterize the risk of having blank templates as major security risk (don't know to much about PHP security)?
#26
Posted 14 April 2009 - 09:21 PM
Any number of modifications can be made to the underlying code... It was just something I threw in to play with... Don't hold your breath on this feature making into the next major release...
#27
Posted 14 April 2009 - 09:31 PM
Don't say that! I'll be stuck at 1.x if you remove the ?tpl= feature!!!
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users










