Menu permissions
sirius - April 7, 2009 - 19:46
Hi,
I’m new to drupal and I have a problem.
I want to give a content type or a user role only access to a part of the menu. How can I do this?
Or if this won’t work, how can is assign content typs to a specific menu?
greetings,
Sirius

try this module
try this module http://drupal.org/project/menu_per_role
chetan
Chetan Jain
http://www.cjain.com
I already tried this module,
I already tried this module, but it’s only for adding restrictions to a menu item.
It doesn’t hide items from the parent item list and u can’t hide <main> items.
To hide content I already use “Content Access” and it works fine.
I need to hide items from the parent item list in menu settings or assign content types to a specific menu.
I also tried this module http://drupal.org/project/ctm but it doesn’t seem to work.
did nobody have an idea? :(
did nobody have an idea? :(
the quick other way i can
the quick other way i can think of is to create two version of the same menu with different functionality and visibility depending on the role.
Chetan
Chetan Jain
http://www.cjain.com
Hi there, Well, in your case
Hi there,
Well, in your case what I feel best would be to create a block with custom created menu code using li and anchor tags. And then if you are good at php, wrap each li and anchor tag with php if conditions that checks the user role and and does whatever you want.
You can check code below to get an idea how to start:
http://www.dashplanet.com/tutorials/webmasters/drupal-cms/identifying-fo...
Abdullah
Abdullah
Information Planet
Oil Cups