Closed (fixed)
Project:
Role Theme Switcher
Version:
6.x-1.6
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Sep 2010 at 14:18 UTC
Updated:
10 Apr 2012 at 18:50 UTC
I took a look and installed and tested this module.... and it seems ok & workin, BUT..
...I want to have different theme ONLY for administration (depending on role, like "editor"), but theme for front-end to be default!
Bassicaly, we will be using 3 themes
1- front-end theme (all suers)
2- admin theme with LOTS of options :) (only administrator)
3- editor theme ONLY for administration (with only a few important links) (only role 'editor')
is this possible and if it is... any bright ideas regarding this? :)
Comments
Comment #1
CinemaSaville commentedWould be a great feature.
Comment #2
ari-meetai commentedChanged the title. Check these out:
http://drupal.org/node/933470
http://drupal.org/node/297421
or you can use :
in the template.php to select the page.tpl based on url
(http://drupal.org/node/794646#comment-2949042)
Comment #3
tiutiun commentedIt looks it may be done playing with the weight of module in the "system" table
If weight = -1, the setting "Use administration theme for content editing" overwrites the RoleThemeSwitcher behavior
If weight = 0, then RoleThemeSwitcher functionality takes precedence.
Since version 6-1.6 RoleThemeSwitcher does not set its weight during installation phase, so by default weight = 0 - thus it takes precedence over "Use administration theme for content editing"
Weight may be updated by module util
I would propose the following schema:
1. Set weight of RoleThemeSwitcher as 0. If you install it on fresh Drupal installation - it should be set up to 0 from scratch
2. Set Front-End theme as Default theme in "Themes" interface
3. Create "admin" and "editor" roles and assign them respectively
4. Assign to "admin" role an "ADMIN" theme
5. Use interface "Use administration theme for content editing" to assign theme for Admin tasks
6. Assign to "editor" a "Default" theme in RoleThemeSwitcher interface, thus it will use "ADMIN" theme for admin tasks, and it will use Front-End theme for rest of the pages
Hope it will work :-)
Comment #4
tiutiun commented