How to Add Default Admin Theme to Certain Pages Irrespective of the User?

| | 1 min read

I came across a situation in my recent project, where user roles other than admin have to access the admin pages. The default admin theme was not provided for the admin pages in which the user role is not admin.

Drupal has a module which allows us to add the admin theme to specific pages irrespective of the user role. Below are the steps which I followed to achieve this.

  • Downloaded and enabled the module Administration theme
  • Go to page admin/appearance. There will be a "custom" option in the bottom of the page. You will find specific text boxes to enter the pages where the admin theme need to be displayed and where the admin theme does not need to be displayed.

Hope this helps someone.