I am making a news website. I want the administrator to have the default drupal 7 theme Seven. But I want to give the editor a custom theme that is more usable and streamlined for the task they do.

I have seen this module called ThemeKey. As far as I read it gives a lot of functions. For me as now only thing I want is when the user of the role editor login, they should be served with different admin theme. Thats all. Is there any hooks or something? Are there any examples or recommendations for achieving this?


I think that this module does exactly what you need, I used it on a project and works very well

Role theme switcher module

  • 1
    That switches the main theme, but does it switch the admin theme? – VanD Jul 5 '13 at 8:36
  • This is not asnwer ,this module can't change admin theme per roles . – Yusef Aug 30 '15 at 7:17

I like your question. However, I would follow a different approach. Rather than creating a whole new theme for editors, I would add a unique class into the classarray[] = 'newclassuserrole'; { page preprocessor } in the body element via user role and then write all my css like this

body.newclassforuserrole region content .. and so on  {}

I would create extra variables and regions to be used on certain pages like ['node/%node/edit']` etc

This way you can save extra php processing and can accomplish the theming part as well.


The Themes By Role module works for your purpose; I don't think RTS does what you want.

Not the answer you're looking for? Browse other questions tagged or ask your own question.