The module work perfectly with the exception that it does not supress menu item forum in the primary links. The url for the menu is /forum. Is there a piece of code I could try?

Comments

fago’s picture

Are you sure that you have applied the patch correctly?
Otherwise it might be a cache issue. Disable and re-enable the module and try again. I've just tested it with a menu item in the primary links, works fine.

Lanny-1’s picture

I tried to clear cache, disable, enable and it did not help. I rechecked the patch application and it seems to be applied correctly.

The module works for ALL other primary menu items except for forum. The difference is this:

All other primary link menu items are pointing to user created nodes or views. The one which does not disappear for unauthorized role (in this case unauthenticated user) is pointing to /forum. It is hidden in the Navigation and the path is used to create a menu item in menus.

fago’s picture

I've just tested the forum menu item, I enabled it as primary menu item and restricted it to authenticated users. As soon as I logged out it disappeared like desired - so it's working for me.
Are you using the "proposed menu item" forum too?

Lanny-1’s picture

> Are you using the "proposed menu item" forum too?

I might be thick but I do not understand your question

I envy you :-) that it works for you and heck, it shouldn't be a probem by it is. I went through the database and everything check out. I guess if you cannot recreate, it is impossible for you to debug. My bypass solution is to create a view of the forum, assign a menu, use your module and wait ... This bypass works, BTW.

fago’s picture

the forum module provides a menu item, which an admin has just to enable using the menu module. I've tried it with this one... I called that item "proposed menu item".

mattrock’s picture

I experienced a similar issue with a primary menu item created to link to /node. I am using a static front page and then wish to have a primary link to link to the dynamic content page. Even if I create a url alias for /node and make the menu item point to the alias, the menu item still shows for roles not selected. As soon as I change the menu item to link to another link, behavior becomes what is expected. Change it back, and there it is again.

fago’s picture

Status: Active » Fixed

regarding 'node' have a look at: http://drupal.org/node/109463

Anonymous’s picture

Status: Fixed » Closed (fixed)
kriskd’s picture

I'm also experiencing the same problem. The module works great on all the other menu items with the exception of the forum.

My bypass solution is to create a view of the forum, assign a menu, use your module and wait ... This bypass works, BTW.

I'd love to get some details on what went in your view so I can try this work-around myself.