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.
- #623966 - Now Role Theme Switcher does override "Use administration theme for content editing" setting
- Removed translation for "Default" choice - it could provoke misbehavior if admin interface and user interface are in different languages
- Removed weight changes in hook_install to make RTS compliant with "Use administration theme for content editing" setting
Fixed #408448 by mrfelton: Removed obsolete drupal_clear_css_cache()
Fixed #427246, #420818 - Now default weight for Role Theme Switcher is "-2", so it is loaded BEFORE any other
regular module, that could also switch themes. For ex. fixed problem with http://drupal.org/project/nodewords
Updated: Removed t() in hook_menu. We don't need it since all menu items are being shown via t() by default
Added: uninstall() feature. Now, after full uninstall, all Role Theme Switcher variables will be cleared from "variable" table
- Moved internal interface to Drupal forms
- Changed order of processing roles. Now "authenticated user" has the lowest priority in processing roles. If user has some more roles,
then theme of "authenticated user" will be overwritten by theme of other role.
- Removed some obsolete code
- Now admin theme is also controlled by Role Theme Switcher
Useful Drupal module to assign separate themes for different roles in system.
Often you want to separate Drupal administrative interface from frontend. You can do this assigning appropriate theme for you as user. What to do if you want to show different theme for non-authorized user?
Here's a module :-)
This module doesn't allow you to assign themes for path that starts with 'admin/', because of Drupal internal logic.
To assign theme for "admin/" path you have to go to "Administration theme" menu.