Location module override

Events happening in the community are now at Drupal community events on www.drupal.org.
michaelsilverman's picture

Trying to apply a simple override to the Location module. I want to override the location_map_link so that clicking on the Google Map link will open a new window (instead of the current window). I have tried putting a mytheme_map_link function in my theme's template.php file but the override seems to be ignored. Are my naming convention and placement correct?

Michael.

Comments

I'm far from an expert but

tinem's picture

I'm far from an expert but don't you have a box to select from http://beta.findtoilet.dk/admin/settings/location?

Map link
Open map link in new window
Select this if you want the map link to open in a separate window

Love it when

michaelsilverman's picture

I miss the obvious! Thanks!

Location and Mapping

Group organizers

Group categories

Wiki type

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: