Download & Extend

Why not let user 1 have a menu?

Project:RootCandy
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

This code in template.php in _rootcandy_admin_navigation() ...

  if ($user->uid != 1) {
    // get sorted roles
    $role_menu = _rootcandy_init_role_menu();
    if ($role_menu) {
      $rootcandy_navigation = theme_get_setting('rootcandy_navigation_source_'. $role_menu);
    }
  }
  else {
    $rootcandy_navigation = '_rootcandy_default_navigation';
  }

makes it so that user 1, the root drupal admin cannot have a role menu override in rootcandy. Just wondering if it should be an option to let the admin user have a role and special menu. Thanks.

Comments

#1

Interesting idea, I'll think about it and see if I come up with a solution

#2

Version:6.x-1.2» 6.x-1.x-dev
Status:active» fixed

committed to dev version

we have now settings for super users (user 1) custom navigation
see screenshot

AttachmentSize
rootcandy_superuser_nav.png 15.78 KB

#3

Very nice, thanks. I'll test soon.

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.