would it be possible to have the system display not only future events, but also past ones? If you view my public feed, those past events are still there, and I’d like to be able to show those as well.
// $addresses[$tempCounter] = "http://www.google.com/calendar/feeds/".$addy."/public/full?start-min=".date('Y-m-d').'&start-max='.$startMax."&orderby=starttime&sortorder=$order&singleevents=true"; $addresses[$tempCounter] = "http://www.google.com/calendar/feeds/".$addy."/public/full?start-min=".date('Y-m-d', strtotime('-30 days')).'&start-max='.$startMax."&orderby=starttime&sortorder=$order&singleevents=true";
Hi,
I’ve installed this snippet as per the instructions. Made sure there was only one set of <?php ?>. Changed the gmail address in the snippet and in the snippet call. this is my call:
[!GoogleEvents?dayNameSize=`full`&outputType=`calendar`&calendarType=`wide`&email=`[email protected]`!]
My page returns nothing. No calendar, no errors and not even any code (page source) referring to the snippet call. Any ideas what I’m doing wrong?
I’m using Modx 9.6.1 and Google Events 1.4.1
[!GoogleEvents?dayNameSize=`3`&outputType=`list`&maxEvents=`50`&lastEvent=`365`&email=`[ourcalendar]@gmail.com`&dateFormat=`D,Mj`!]
The placeholders that you can use in the chunks passed to the snippet for a template are: