Postponed
Project:
Agenda
Version:
6.x-1.7
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Sep 2010 at 17:28 UTC
Updated:
1 Nov 2011 at 17:03 UTC
Any way to have the Agenda block offer a "Map" link without the site visitor having to take the intermediary step of viewing in Google calendar?
Comments
Comment #1
aidanlis commentedI'm sure there is, but I don't have time to implement this.
Comment #2
kriscarp commentedYou should really get together with the developer of the gcal events module and integrate the two. Both are great modules, but I'm needing functions of each into one spectacular module! Specifically, with gcal events you can make the location a link to the map. But, with Agenda events are grouped by date and colored for each calendar. Love them both, wish they were one!
Comment #3
granttoth commentedCan't Remove.
Comment #4
granttoth commentedI got this working by adding one line to the template file. Works great!
I added this just before the last
</ul>in my block template.<p><a title="See on Map" target="_blank" href="http://maps.google.com/maps?q=<?php echo $event['where']; ?>">See on map</a></p>Comment #5
granttoth commentedWith some help from the fellas over at Stackoverflow I was able get this to only print when the
$event['where']has data.Sometimes they don't always fill out the Google Calendar correctly and It was a bit silly to link nothing relevant.