By drupal_noob on
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
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
Kewl I found it :)
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
---
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
great tip, thanks !!
great tip, thanks !!