Using Drupal 6.22 and menu per role 6.x-1.0. I checked an option to not show my "profile" and "real name" menus that appear under "user" menu for a particular role. However they still show up for the user role. Note I am also using the path access module to prevent access to the node but don't want users to see the menu and get a "no access message". I also have not given the role access in permissions but the menu still show. Assistance would be very much appreciated.

Comments

AlexisWilke’s picture

I suppose you meant 6.x-1.10 of menu per role?

From what you are describing, I'm wondering whether the menu is a "natural" Drupal menu or some sort of built up menu. I don't recall the profile creating any menus though. It may be creating tabs though...

I never tried to apply Menu per Roles to tabs. I do not know how that would work.

Anyway, if what you are saying is true: i.e. that people cannot access those pages, then the menu should already be gone just because of that, that is, if it were a "natural" Drupal, then the system would detect the access problem and forget about the menu altogether.

This is why it feels like it feels wrong. I would ask the authors of those "menus" why they don't disappear when the destination is actually protected.

Thank you.
Alexis

aethynyc’s picture

I also have a similar problem. I am using the simple menu and menu per role is not hiding any of the menus. It only "disables" them and you cannot click it, but users can still see it.

I have 3 menus: login / signup / navigation

The navigation menu is a parent and contains other submenus.

I would like for the navigation to show only to registered users, and the login / signup only to anonymous. However, all 3 menus show up all the time for everyone.

You can see/test my problem at my site here: http://musime.excalibur-nw.com

Drupal: 6.22
MpR: 6.x-1.10

AlexisWilke’s picture

Yeah... no one submitted a patch yet. I have something similar in Cute Menu where I do skip the menu altogether when empty. The problem here is that this is a combination of the multi-menu and making the parent menu non-clickable.

If the parents were clickable, then it would make sense to keep those empty entries. The multi-menu has no clue about the fact.

Thank you.
Alexis Wilke

aethynyc’s picture

Can you?

AlexisWilke’s picture

I don't have the time.

Thank you.
Alexis

Grimreaper’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Hello,

Closing as the issue is about a deprecated version of Drupal.