Closed (won't fix)
Project:
GMap Module
Version:
5.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Jan 2009 at 03:18 UTC
Updated:
4 Nov 2012 at 01:05 UTC
Hi,
When viewing node locations on the googlemap and the mouseover shows the node title, does anyone know how this could instead be changed to a cck field from the node?
I'm using it to show user profiles (which are nodes) and the titles are autogenerated and meaningless.
Thanks,
Matt
Comments
Comment #1
sleepingloach commented..or rather, the userid who created the node?
Thanks!
Matt
Comment #2
tom_o_t commentedIt's not something that can currently be done in gmap without writing some new code and patching the module.
My recommendation would be to use http://drupal.org/project/auto_nodetitle with the tokens module. This way you can automatically give the autogenerated nodes a title that is the same as the username/userid/any cck field. Then that value would show as the tooltip when you mouseover a marker on the map.
Hope this helps!
Comment #3
sleepingloach commentedAha, thank you! An excellent idea.
I was using auto_nodetitle, but hadn't directly utilized tokens yet (I had it installed as a dependency for other modules) so that idea did not come to mind.
Right now it's generating automatic titles, I had left the pattern for the title empty, so it was making sequential "User Profile x" titles. I supposed I could just change this to [author-uid] or [user-id] etc. Great...
Matt
Comment #4
podarokrelease unsupported
feel free to open issue against latest 7.x dev