By vinayakg on
Hi guys,
I am creating a yahoo answers kind of site, its almost done at the basic level. U can see it here
http://www.ask.computerkid.co.in/answers/
Here the answers are posted as comments. I would like to rename the "Comments" appearing here to "Answers". I am a newbie to drupal. Can anyone of you please guide me through it.
Thanks in advance.
Comments
Should be pretty straight forward
I can't recall if the text for comment comes from either the template or from Drupal itself. If it's in the template you'll need to find it in the appropriate .tpl files, but if it comes from Drupal then I believe it can be done by creating a translation and in that translation changing the word comment/s to answer/s.
I've never done this myself so feel free to correct me if I am wrong though :)
Try this
Try this module:
http://drupal.org/project/stringoverrides
It can override all instances of t().
Just replace the word "Comments" with "Answers"
Hi thanks
Thank you for that module.
Not tried it yet but think it'll do the job
In love and light ,
Vinayak
...
You can also use the core Locale module, see HOWTO: Creating a customized language set to replace Drupal terminology.
Thank you, that's the one I
Thank you, that's the one I was talking about :)
That was the best one ;) Thanks
In love and light ,
Vinayak
Change "comment" to "answer" only in one node type
If there is a way to do so?
I have a live site with other node types, so I want that "comments" will be "answers" only for "questions" :)
Thanks for help