[support] Change title of View Tab on a node page
Earnie Boyd
earnie at users.sourceforge.net
Thu May 27 12:06:31 UTC 2010
Mukesh Agarwal wrote:
> I guess you are right.. i just wanted my hook_menu_alter to help me out
> here but turns out that it cannot support dynamic titles.. I can always
> replace "View" by "Take a look" from the hook but dynamic part does not
> work.. Plus it would have been good if menu would not get cached by
> default..
>
This is untested but you should be able to use hook_menu_alter and add
'title callback' => 'check_plain'
'title argument' => array('My new title')
--
Earnie
-- http://progw.com
-- http://www.for-my-kids.com
More information about the support
mailing list