Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Any idea why my anonymous visitors can't switch themes? All the permissions are good in my site's access controls, so I can't figure out what is causing the problems. There are no errors in the logs, either.
Comments
Comment #1
KarenS CreditAttribution: KarenS commentedThe only way anonymous users can switch themes is if you turn caching off, otherwise they'll get the cached page with whatever theme it was saved with. That's part of the reason I provided an option to display the switchtheme option only to certain roles (like authenticated users) so you can turn it off for anonymous users if you need to cache pages.
Comment #2
Christefano-oldaccount CreditAttribution: Christefano-oldaccount commentedHa, that's it! Thanks so much for the answer.