Active
Project:
Delegate Menu Administration
Version:
6.x-1.1
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Nov 2009 at 11:58 UTC
Updated:
26 Apr 2012 at 14:31 UTC
Currently, those menus which users do not have access to are still visible in node edit page (under Menu settings.) Although they are not selectable, it would improve usability if we can hide them altogether to avoid confusion. I have tried looking through the codes but I couldn't seem to find how it works. Can someone share some pointers here?
Comments
Comment #1
sirclickalotI wholeheartedly agree Sir!
Absolutely, improve this excellent little module no end by hiding what you're not allowed to access/use.
I'm sure this would be a relatively quick and simple thing for the maintainer to do.
Mind you, if you have access to submenu items in any menu then you'll still need to see the parent items of it!
Comment #2
jphelan commentedI agree too. I would love to see this or even the option to hide or show, although I don't know why you would want to show someone something they can't use.
Comment #3
trebuchet77 commentedI just added this CSS and it seems to work, as all the non-selectable menu items are optgroup
.menu-title-select optgroup {
display: none;
}
Comment #4
drasgardian commentedsubscribing
css workaround didn't seem to work in chrome.
Comment #5
TripleEmcoder commentedSubscribing.
Comment #6
sirclickalotI agree, for some unknown reason the CSS does not hide the OPTGROUPS in Chrome.
Instead, the following little snippet of JQuery does the job rather nicely...
$('#edit-menu-parent-wrapper .menu-title-select optgroup').remove();N
Comment #7
jima commentedWhere can I add this code?