Hi, all.
I just want to delete one item in my menu such as "user account"
cause nobody needs it in my site`s situation.
How to delete it without creating your own menu in conf.php?

Thanx a lot.

Comments

topogijo’s picture

Hello arsart,

The way I have overcome this issue is by downloading the Style module and a theme that supports it (Polder theme in my case). With the Style module you have the option of editing a lot of value's from within the admin, including menu off. Cautionary advice about the Style module; when I installed it I omitted uploading the "admin.module" file since it generated errors for me (drupal 4.2). You may also attempted at manually editing the .theme file and remove the menu code but to remove just the "user account" it might be more difficult. If you still need your header menu I would suggest removing the current menu, hard code one without the "user account" link and placing it in the .theme file where the old menu was or if your using the Style mod perhaps in some header text; I have yet to try that but when I add my menu I ill try it. Also the xtemplate theme lets you throttle the menu on or off and allows you the ability to enter text for your "home" page, which in turn you can use as a menu; I believe that is what they use here on the home page.

Regards,
Topo

arsart’s picture

thanx for advice, Topogijo
i`ll try

topogijo’s picture

Hello arsat,

I was playing around with menus today and found documentation on how you can edit the conf.php file to achieve what you want http://drupal.org/node/view/364.

Regards,
Topo

moshe weitzman’s picture

you can't turn that link off and keep the auto generation of nav-links. if you want to customize, you currently have to cusgtomize completely.

given the above, your simplest options are:

- use xtemplate.theme since it allows you to define primary and secondary nav-links in the admin/system/themes (this theme comes with 4.2)
- edit the $custom_links array at bottom of conf.php