By afdiaz on
Hi,
Currently I'm working with gmap module to show several marks in "map/node". However, the tooltip (by default) include the followinf information:
TITLE page
Editor name date hour
<--- Information in the body/description --->
Well..; The idea is to remove, or disable, the "TITLE page" and the second line from the tooltip presentation. Can you tell me where the .module or .css file is?
Thank you.
Comments
.
The css will be either in the tooltip directory (assuming you are using that module) or in the gmap directory, in your sites/all/modules folder.
The tooltip is delivered from
The tooltip is delivered from the db node field. Taxonomy is a bit complicated, as it comes from a different table, but you can relatively simply set the name of the location as a tooltip, instead of the title of the post.
For that, replace around row 267 of gmap_location.module
SELECT n.nid, n.type, n.title, l.latitude, l.longitude $marker_sql1into
SELECT n.nid, n.type, n.title, l.latitude, l.longitude, l.name $marker_sql1And around row 310
$newmarker['opts']['title'] = $row->title;into
$newmarker['opts']['title'] = $row->name;For Taxonomy
(where q.vid is wour vocabulary's vid)
and around row 310:
$newmarker['opts']['title'] = $row->name." (Term: ".$row->taxonomy.")";