I have trouble understanding the behavior of this plugin, at least for my particular purpose, which is to remember if a visitor doesn’t want to see the flash intro again (this is continued from
Use the Template Switcher to skip flash intro for return visitors and
Using AJAX to load a flash intro : a breeze with LITBox !)
Per Kudolink’s advice, I have tried to use the TemplateSwitcher to do just that but I fail to achieve this, at least if I want the plugin to work only on the homepage. I have taken into account the cache issue and uncached my homepage. When I set the plugin to work sitewide, the cookie is set and the proper template is selected. Also, if I properly add the donotswitch to other page’s content, everything works fine.
But I’d rather not rely on editors adding the donotswitch themselves to the content field every time a new document is created... (While I am here : is it possible to define a default value for content like we do for TVs ?), and I’d rather not have the cookie set sitewide.
My question is, why doesn’t it work when the plugin is not set sitewide ? Or
do I have to uncache the whole website for it to work that way ?
You can see the website I am working on
there. The top right link in the Flash window is the skip intro link (
http://ns20999.ovh.net/~sworld/?template=accueil). I have two templates, one for the homepage with flash is "intro" and the one with the homepage without flash is "accueil". Right now I have switched the sitewide setting to "no".
Any thought or advice (maybe another method should be used in my case...) ?
Thanks !