Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By deanloh on
I'd spent all night on this, I have to shout for help!
Under administer -> settings -> article: I have set Overview Title to "Resources", but why does it still show "Article listing" on this page: http://bishan.toastmasters-club.com/article
I don't want it to show Article listings, I want to show Resources. Help!!!!
Comments
2 ways
Hi,
Can be done in 2 ways either edit the module or use the locale string.
Read this for second option http://drupal.org/newsletter/2005/september
Drupal Tips - Change any string
and http://drupal.org/node/24593
Sunny
www.gleez.com
I think you can change the
I think you can change the article.module to do that (someone will probably come on and tell me this is back hacking).
Just change the t('Article listings') to what you want. It could be this is not the correct "article listings." What I normally do is create a copy / backup of the original module, and then hack around until I get what I want. Hope this helps!
:)
PS - I'm sure there is some way to do it through phpTemplate, but I wouldn't know how.
Locale module
I recommend using sangamreddi's suggestion of using the locale module to change the text. If you modify the code as ryooki suggests you'll have a problem when you upgrade Drupal.
This article explains how.
http://drupal.org/node/24593
Superb!!!
Thanks guys for the helpful hints! I did it through the locale method and only I realized how much goodness of Drupal I'd missed all these while.
Now on, Drupal is going to be my favorite choice of CMS!
Wow
I didn't know about this either! That would have made my life so easy...
Is there a page dedicated to tips & tricks just like those in the newsletter?
Subscribe to newsletter
Hi
Subscribe to newsletters
Sunny
www.gleez.com