Active
Project:
Separate "management" theme for administrative pages
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Nov 2006 at 18:33 UTC
Updated:
4 Nov 2006 at 18:33 UTC
The default set up for this module prohibits non-admin users from access non-admin pages you'd like to use the "manage" theme for. By commenting out the following code you can use the "manage" theme on any page you'd like and still have anonymous and logged in users access it:
if ( !in_array($_GET['q'], array('manage/login', 'manage/style.css'))
&& !user_access('access administration pages')) {
if ($user->uid == 0) {
drupal_goto('manage/login');
}
else {
drupal_goto('/');
}
}