Hey everyone,

How would I go about renaming the "track" tab thats found in a users profile? I wanted to rename it to something more user friendly. Thanks for your help :)

-T

Comments

drupal_noob’s picture

Kewl I found it:

drupal-5.1\modules\tracker\tracker.module

In this line:

$items[] = array('path' => 'user/'. arg(1) .'/track', 'title' => t('change the title here'),

-T

vm’s picture

rather than alter a core file, that will get overridden at next upgrade, one should consider turning on the locale.module (part of core). which is what is used to change text strings. In essence, creating a site specific language. Doing it this way preserves the changes from future updates and upgrades.

anything that is wrapped in a t( ) can be changed using the locale.module

abramo’s picture

great tip, thanks !!