Posted by Caleb G2 on November 4, 2006 at 6:33pm
| Project: | Separate "management" theme for administrative pages |
| Version: | master |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
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('/');
}
}