Hi,
I want to overwrite the 'Edit' title of the user-menu to 'Account'. If I do so in the user module it works:
$items['user/%user_category/edit']['title'] = 'Account';

But if I write this in my own module nothing happens...

Comments

vph’s picture

Click on admin/menu to get the menu system refreshed.
if that doesn't work, create a page with this:

<?php menu_rebuild() ?>

to rebuild the menu system. That may help.

Anonymous’s picture

Hi, this is not the solution.
I think the menu is refreshed, but the refreshing doesnt consider my change. If I add a menu item in my module it will appear, but changing a menu item of another module doesnt seem to work.

pedrofaria’s picture

Install devel module... and refresh cache or rebuild menu just with one click!

cya

--
Pedro Faria de Mirando Pinto
http://www.phpavancado.net - DevBlog (pt_BR)
http://www.eusouopedro.com - Blog (pt_BR)
irc://irc.freenode.org/drupal-br - IRC Help channel (pt_BR)

JacobSingh’s picture

You need to use drupal_set_title() in the callback for it to change the title... The title in hook_menu is just for the tab, kinda dumb but true.