https://forums.modx.com/thread/?thread=45137
https://forums.modx.com/thread/45137/what-is-the-best-most-comprehensive-backup-tool-for-modx?page=2#dis-post-260236
Actually using this snippet to do switch of templates based on user browser type - http://modxcms.com/extras/package/557
Thanks]]>dubbsSep 03, 2009, 10:02 AMhttps://forums.modx.com/thread/45137/what-is-the-best-most-comprehensive-backup-tool-for-modx?page=2#dis-post-260236
https://forums.modx.com/thread/45137/what-is-the-best-most-comprehensive-backup-tool-for-modx?page=2#dis-post-260235
sottwellSep 03, 2009, 09:57 AMhttps://forums.modx.com/thread/45137/what-is-the-best-most-comprehensive-backup-tool-for-modx?page=2#dis-post-260235
https://forums.modx.com/thread/45137/what-is-the-best-most-comprehensive-backup-tool-for-modx?page=2#dis-post-260234
Tis not working... The page is uncached (as it needs to be for the mobile redirect also....)
I have a text link with this code applied to it to try and load the same page with the alternate template a href="home.html?template=homepage"
’homepage’ is the name of the template i want the home.html document to be re-rendered in when the link is clicked...
Am i missing something?
Many thanks ;]]]>dubbsSep 03, 2009, 09:52 AMhttps://forums.modx.com/thread/45137/what-is-the-best-most-comprehensive-backup-tool-for-modx?page=2#dis-post-260234
https://forums.modx.com/thread/45137/what-is-the-best-most-comprehensive-backup-tool-for-modx?page=2#dis-post-260233
sottwellSep 03, 2009, 09:48 AMhttps://forums.modx.com/thread/45137/what-is-the-best-most-comprehensive-backup-tool-for-modx?page=2#dis-post-260233
https://forums.modx.com/thread/45137/what-is-the-best-most-comprehensive-backup-tool-for-modx?page=2#dis-post-260232
Quick question re: your TemplateSwitcher snippet...
It says in the documentation here that you can pass a template name to a page via a URL string??
// TemplateSwitcher - plugin for MODx
// [email protected]
// released to the Public Domain
// uses OnLoadWebDocument event
// stores template choice in cookie
// add the usecookie argument to the Configuration
// &usecookie=Use Cookie;list;no,yes;no
// default is ’no’
// set Configuration to ’yes’ to use cookie
// place an HTML comment <!-- donotswitch --> in the content of pages you don’t want switched
// add template=templatename to the URL
I am using templateswitcher with a mobile detection script, but want to be able to have an opt out if a user is shown the mobile version of a page while they feel they should not, i.e. give them a link to view the same page with a different template creating the page. Is this possible?