I'm showing the location address in a view and i realized that it's showing the latitude and longitude in that address field. I don't want users to see that information, so i tried to override the location.tpl.php file which is in the module, copying it to my theme folder, but nothing happens. Is this the way to do it? Am i making something wrong?
Thanks for you help.

Comments

bdragon’s picture

Nah, I was just being lazy with the theme compatibility layer.

I just committed some changes to allow it to work as expected.

http://drupal.org/cvs?commit=143828

bdragon’s picture

Status: Active » Postponed (maintainer needs more info)

Did this work for you?

mburak’s picture

Yes, thanks!

bdragon’s picture

Status: Postponed (maintainer needs more info) » Fixed

OK, marking fixed then. Thanks for the prompt response!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

whitewater77’s picture

Title: How do i override the location.tpl.php in my theme? » How do i override the info window display style?
Version: 5.x-3.x-dev » 6.x-3.0-rc2
Status: Closed (fixed) » Active

Hi,

by overriding the location.tpl.php file I can change the location display as a whole.
But how to alter only the marker infowindow display to a different layout
with drupal 6 & gmap location?

Kind regards

whitewater77’s picture

this seems to be a problem only with the views module (+Location). On the node locations page the
gmap_location_infowindow_node.tpl.php is used as expected. But when I am using the Views Module with GMAP,
only the default location.tpl.php file is used. Is there any way to override this?

yesct’s picture

Issue tags: +Location theming

bumping this one up. Has anyone tried to theme the info window in a view result?

rooby’s picture

Title: How do i override the info window display style? » How do i override the location.tpl.php in my theme?
Version: 6.x-3.0-rc2 » 5.x-3.x-dev
Status: Active » Closed (fixed)

Setting back to original post settings.

@whitewater77:
The original post was a different issue so you will need to open a new issue.
Also, the info window is handled by the gmap module so you will have to search the gmap issues and create a new issue there if there is nothing similar to your request already.