I have a problem with the module.

Problems
If you go to my website, at http://indiecom.net you can play with my Switchtheme block (at the bottom of the website) by choosing the Win2k theme and after that click on the link called Visit Malaysia or maybe you can select the different language in the Select Language block.

- - ! - -
You will notice that it will revert back to my Vista theme (default theme)

Additional Info.
The Select Language block came from the Localizer Module

Comments

karens’s picture

Status: Active » Closed (works as designed)

If you are serving cached pages to anonymous users, switchtheme won't work because cached pages are going to pick up the theme stored in the cache. I suspect that's what is happening here -- when you change languages you are now getting the pages in whatever theme was used by the last person who viewed the page in that language.

You should not see any problems for logged in users who aren't viewing cached pages. You either have to turn switchtheme off for anonymous users or turn off caching.

karens’s picture

It is also possible that the localizer module uses caching for its pages. If so, the same problem will apply.