if a menu item has been disabled, the item still displays in the admin_dashboard.

CommentFileSizeAuthor
#6 admin_dashboard.theme_.inc-472556-1.txt1.12 KBskilip

Comments

v8powerage’s picture

Administration dashboard has it's own menu, You need to navigate to: /admin/build/menu-customize/admin-dashboard and disable item over there.

fivehimself’s picture

I get a page not found when I goto: admin/build/menu-customize/dashboard

Using 6.x-1.x-dev

v8powerage’s picture

fivehimself This is correct path: /admin/build/menu-customize/admin-dashboard (and check user permissions).

fivehimself’s picture

Uhm.. Didn't check my copy paste... Thanks for the reply.

Mac Clemmens’s picture

Correct. I am referring to when an item is in the admin_dashboard menu, and you disable it, it still displays in the dashboard.

skilip’s picture

Version: 6.x-1.x-dev » 6.x-2.0-beta2
Status: Active » Needs review
StatusFileSize
new1.12 KB

This should fix that.

skilip’s picture

Status: Needs review » Fixed

Committed to HEAD

Status: Fixed » Closed (fixed)

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

sonlinemedia’s picture

I am having the same issue here... do i need to replace the txt in the inc with what you have attached?

sonlinemedia’s picture

Got it! My url replaces the spaces with "-" and for some reason on some of the content types the dummy dashboard was linking with "_"

AWESOME control menu thanks!

Macronomicus’s picture

Status: Closed (fixed) » Active

This is not working in the latest code.. it appears to still be a bug? Anyone else having trouble disabling some items in the dashboard menu? I cant get it to work.

chriszz’s picture

Same needs to happen when producing submenu / from line 45

/**
 * Theme an ul sub-menu
 */
function theme_admin_dashboard_submenu($items) {
  $output[] = '<ul>';
  foreach($items as $item) {
    if ($item['link']['hidden']) {
      continue;
    }