Ok, doing some clean up work on my formatting and it looks great!
One question however, I am using recurring events for our shift scheduling. They are scheduled every third day and I have it formatted in the Google Calendar so far. However, it is not showing up in the MODx GoogleEvents. Only today is showing up.
Here is my debug mode output:
Debug mode is on.
Getting XML feed
Description to be parsed:
Recurring Event
First start: 2007-03-03 EST
Duration: 86400
Where: A shift - on duty
Event Status: confirmed
Event Description: Lt. Webster, Lt. Jones, FFM Adams, FFE Maher, FFE Weaver, FFE Schwanenberger
Atempting to parse the following date:
Parsed Date:
Starting Day: Thursday, March 1st, 2007
Starting Time:
Endinging Day:
Ending Time: :
Time Greater Than 0? 1172725200
This is what I think the "Where" string should be:
A shift - on duty
Description to be parsed:
Recurring Event
First start: 2007-03-02 EST
Duration: 86400
Where: C shift - on duty
Event Status: confirmed
Event Description: Lt. Fannin, Lt. Gruelle, FFM Maselli, FFE Coplen, FFE Ramsey
Atempting to parse the following date:
Parsed Date:
Starting Day: Thursday, March 1st, 2007
Starting Time:
Endinging Day:
Ending Time: :
Time Greater Than 0? 1172725200
This is what I think the "Where" string should be:
C shift - on duty
Description to be parsed:
Recurring Event
First start: 2007-03-01 EST
Duration: 86400
Where: B shift - on duty
Event Status: confirmed
Event Description: Lt. Conley, Lt. Mathis, FFM Anderson, FFM Slaughter, FFE Schneider, FFE Russo
Atempting to parse the following date:
Parsed Date:
Starting Day: Thursday, March 1st, 2007
Starting Time:
Endinging Day:
Ending Time: :
Time Greater Than 0? 1172725200
This is what I think the "Where" string should be:
B shift - on duty
Description to be parsed:
When: Wed Feb 28, 2007 7am to Thu Mar 1, 2007 7am EST
Where: On duty
Event Status: confirmed
Event Description: Webster, Jones, Adams, Maher, Weaver, Schwanenberger, Brett H. 0830 - 1630, Hollowell 7p, Wolf 24
Atempting to parse the following date:
Wed Feb 28, 2007 7am to Thu Mar 1, 2007 7am
Parsed Date:
Starting Day: Wednesday, February 28th, 2007
Starting Time: 7:00am
Endinging Day: Thursday, March 1st, 2007
Ending Time: 7:00am:
Time Greater Than 0? 1172638800
This is what I think the "Where" string should be:
On duty
It is showing all three recurring events as being scheduled for today?! Any ideas what to try to fix this? It is almost like it is pulling the ’event created on’ date instead of the ’event scheduled on’ date (or whatever language the snippet uses to detect that).
Here is my snippet calls:
To display the calendar: [!GoogleEvents? &debug=`1` &email=`
[email protected]` &outputType=`calendar` &calendarType=`wide`!]
To display the list: [!GoogleEvents? &email=`
[email protected]` &outputType=`list` &tplFirstRow=`GEfirstrow`&tplEvenRow=`GEevenrow`&tplOddRow=`GEoddrow`&tplLastRow=`GElastrow`!]
Thanks for any advice or fixes in advance!