Thread: Show Thread Enhancements - Location links to Google Maps, Bing Maps or Yahoo Maps
View Single Post
  #7  
Old 30 Jan 2011, 14:30
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Installed for testing with thanks ...

Seems to work well, except of course for people who put cute phrases in their locations instead of actualt locations ..

By the way, used bulldog's code instead of original...

Originally Posted by bulldog51981 View Post
For anyone in the U.S., this is the code that I used:

<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd><a href="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q={vb:raw post.field2}" target="_blank">{vb:raw post.field2}</a></dd></vb:if>
Regards,
Doug
Reply With Quote