Diferent menu for each role

Eugef - May 9, 2008 - 18:11
Project:SimpleMenu
Version:5.x-5.0
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

How could i set up different menus for each role.

I want show to admin - "Menu #1" in top, and for other roles - another "Menu #2"

#1

dragonwize - May 11, 2008 - 06:47
Priority:critical» normal

Use the normal drupal menu path restrictions. Simplemenu just displays a menu you select.

So if you have two menu items and role 1 has access to both and role 2 has access to only one, then roll 1 will see both while role 2 will only see the one they have access to.

#2

Eugef - May 19, 2008 - 08:24

Thank you - i will try this.
But this is not very comfortable - becаuse structure of this two menus are different.
So it would be better to have possibility - set different menus to different roles.

For example:
My admin menu has this structure -
- Add material
-- Add page
-- Add forum topic

And for other users -
-Forum
-- Add forum topic

#3

scottrigby - July 2, 2008 - 19:46

is it possible to duplicate the module for this purpose (for instance, rename one to simplemenu2)? One for each menu? I'd like to do this in D6 and D5 sites if possible – and I'm posting here because
1. it could possibly be a temporary solution for Eugef and others (until or if this feature gets implemented in the cms) and
2. I'd like advice about whether or not this is a totally insane move before I try it out :)

Thanks in advance for advice on this–
Scott

 
 

Drupal is a registered trademark of Dries Buytaert.