Overwriting title of menu local task doesn't work

marenz - May 16, 2008 - 10:42

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...

Click on admin/menu to get

vph - May 16, 2008 - 19:06

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.

This seems not to be the solution

marenz - May 17, 2008 - 13:19

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.

Install devel module... and

pedrofaria - May 16, 2008 - 21:27

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)

 
 

Drupal is a registered trademark of Dries Buytaert.