Hi..
I am using drupal 5.1.Its working fine :)
I need to add one menu item within administer menu.Only admin only need to see this menu item.I dont know how to add ,please help me to finish.its very urgent.
And also i need to add one menu for users.

Thanks in advance.
regards
Suresh

Comments

Anonymous’s picture

you can add menu items through your administration page

admin/build/menu

and programmatically using the hook_menu() calls

paul

nehalmehta’s picture

Hello,

After creating one menu, just edit that menu item.
You should have "Restrict Access Permission". In that you just need to select appropriate users. If you select Administrator in that, then only administrator will be able to see that menu.

Feel free to ask more...

Nehal Mehta.

nancydru’s picture

Yes, you need to do this otherwise it will be visible to anonymous users.

Unfortunately, "Restrict Access Permission" is a feature of the Menu Per Role module - it is not core Drupal.

Nancy W.
Drupal Cookbook (for New Drupallers)
Adding Hidden Design or How To notes in your database

sureshk123’s picture

Hi..
Now i added one menu for administrator.Thank u for ur valuable information.

regards,
Suresh

nancydru’s picture

Another technique I have used, but don't know if it solves the added item problem, is to move the admin menu into a separate block (which I also typically move to the right sidebar) and enabling only for the admin role.

Nancy W.
Drupal Cookbook (for New Drupallers)
Adding Hidden Design or How To notes in your database