Hi,

l'm trying to find a way to display the absolute url for Google map location links provided by the Location module. The purpose being to produce QR code images with those links. I'm able to disploy the Gmap link with tokens, but only like thise :
See map: <a href="http://maps.google.ca?q=162%2C+14315+-+118+Avenue%2C+Edmonton%2C+AB%2C+T5L+4S6%2C+ca" target="_blank">Google Maps</a>
I would like to display them like this:
See map: <a href="http://maps.google.ca?q=162%2C+14315+-+118+Avenue%2C+Edmonton%2C+AB%2C+T5L+4S6%2C+ca" target="_blank">http://maps.google.ca?q=162%2C+14315+-+118+Avenue%2C+Edmonton%2C+AB%2C+T5L+4S6%2C+ca</a>
or like this:
http://maps.google.ca?q=162%2C+14315+-+118+Avenue%2C+Edmonton%2C+AB%2C+T5L+4S6%2C+ca
I've tried using Views but with no luck. I've search google with "drupal extract url" and "drupal extract link", also with no luck.

Thank you,

Denis

Comments

p0732658’s picture

Would this have to be done in the location.tpl.php ?

p0732658’s picture

Issue summary: View changes

Request concern Location module and not Gmap Location module.

legolasbo’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Closing old D6 issues as D6 is end of life