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?
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
Comment #1
fagoAre 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.
Comment #2
Lanny-1 commentedI 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.
Comment #3
fagoI'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?
Comment #4
Lanny-1 commented> 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.
Comment #5
fagothe 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".
Comment #6
mattrock commentedI 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.
Comment #7
fagoregarding 'node' have a look at: http://drupal.org/node/109463
Comment #8
(not verified) commentedComment #9
kriskd commentedI'm also experiencing the same problem. The module works great on all the other menu items with the exception of the forum.
I'd love to get some details on what went in your view so I can try this work-around myself.