I have this page: http://adsoftheworld.com/aggregator with the page title news aggregator on the top. I would like to call it something else. I tried to rename it with localization, like i did successfully for other elements of the site, such as the so called random ad block title on the right side: http://adsoftheworld.com/tracker but for some reason the new title for news aggregator doesn't take effect.

What can I do to rename that page title?

Comments

Elkerton’s picture

I have the same issue and have not solved it yet. Help anyone?

radiofranky’s picture

Hi,
how did u change the left conlumn menu bar? Which file should I edit? tks

iraszl’s picture

Edited the template.
---
http://raszl.net

nathandigriz’s picture

I don't know where the code is but if you change the link title text then the page title should change also. This is one thing I know of that Drupal and Joomla have in common ;)

iraszl’s picture

And where do you do that please?
---
http://raszl.net

nathandigriz’s picture

in the aggregator module you should see this code

  $items[] = array('path' => 'aggregator', 'title' => t('news aggregator'),
      'callback' => 'aggregator_page_last', 'access' => $view,
      'weight' => 5); 

change the text in the t('news aggregator'). You may have to clear the cache table using phpmyadmin also.

iraszl’s picture

Thanks!
---
http://raszl.net

ajwwong’s picture

Hello there,
I stumbled across this thread while trying to solve a similar problem of my own, but I did not find that the solution listed above worked for me. In the event that, you're still looking for a solution, you might consider trying searching for the implementation of hook_node_name and changing the variable listed to your preferred title. This worked for me. For example, you could try to look for the text in your news aggregator module:

/**
 * Implementation of hook_node_name().
 */
function product_node_name($node) {
  return t('old title');
}

Where old title is the old title of the page -- "news aggregator" in your instance, and put your new title in place of that.

/**
 * Implementation of hook_node_name().
 */
function product_node_name($node) {
  return t('new title');
}

Be aware: by changing this node_name, you'll also change not just the title, but also the name of the node in various menu selections.

Good luck.

Albert