I need to give my node locations page a more descriptive name that more clearly indicates what the stuff on this map represents:

http://www.cctvcambridge.org/map/node

While its a very easy process to change the text area under the title through the settings>gmap_location menu, it is unnecessarily complicated to change the title of the page itself.

I could hack the code in the module, and I don't want to do that since its bad for future upgrades, but even when I did do it I couldn't find the instance "node locations" I couldn't get the change to take effect. As it stands it seems the only way to change this title is to activate the locale.module, strip out the once instance of the string from the .pot file to make a new .po file, import this into a new custom english translation then finally make the new english into the default language for the site. All this for a lousy title.

Could one of you nice developers make this an easy process for us users?

Comments

steve hanson’s picture

That's actually pretty easy to fix - You need to set up the locale module, and just translate the string for the top of the page - this is generically a good way to change strings in Drupal. Take a look at http://drupal.org/node/58030

seaneffel’s picture

Believe it or not, that method doesn't work work gmap. I've used the locale module for lots of situations, but it does not work for that specific instance of vocabulary. We've been working on our node locations map for months to trick it out for a special presentation and this is one of the most annoying things! Adding localized english translations doesn't work, and even rewriting every instance of "node location" within the module file itself does not change the title of that resulting page. (Yes, I even got so frustrated that I hacked away at the module code, and turned up nothing.)

rootwork’s picture

Is there any update on this? I notice in the GMap Location settings page there is a place where you can change the title of the user locations map page, but there's no place for changing the node locations map title. I don't know if the underlying architecture would make this very difficult, but it seems like if it's possible it would be helpful to give an option for changing that title as well.

erwindeclerck’s picture

Hi!
Did anyone came up with a solution to this problem yet? I'm in exactly the same situation and tried out exactly the same things to work around the problem...
Cleared all the cashes several times..
No success yet :-(

Kind regards,

Erwin De Clerck

seaneffel’s picture

Erwin,

I decided to use Views to generate a map with node locations so we could get around dealing with the default node locations layout. See what we did here, maybe it will help you rethink your problem too:

http://www.cctvcambridge.org/mediamap

joemoraca’s picture

Version: 6.x-1.x-dev » 5.x-1.x-dev

I can't even figure out in the code where I would change it if I wanted to !!!

This would be nice to have a "setting" somewhere.

Other than this I really found it easy and fun to use.

http://sarasotabusinessdirectory.info

seaneffel’s picture

Yeah Joe, that was my problem too. This is why I choose to make my own gmap view with the same data rather than use the default node locations display. They I have control over the title of the page.

caprenter’s picture

I think the easy fix is to alter the 'Menu' title of 'Node Locations' under Administer - Site Building - Menus.

See http://drupal.org/node/350168

However, I'm not sure this works in 6.x-1.1-rc1 if you move the menu item to another menu other than 'Navigation' - reported at http://drupal.org/node/416574

podarok’s picture

Status: Active » Closed (won't fix)

release unsupported
feel free to open issue against latest 7.x dev