Recurring events not showing in vp_embed.htm

20 views
Skip to first unread message

sam.vand...@gmail.com

unread,
Sep 2, 2019, 2:59:43 AM9/2/19
to visual-planner-discuss
Hi,

Visual planner is set up and running for my project. For my workflow I mainly use the vp_embed.htm feature to enclose the calender in a website.
Recurring events that I create in my google calender do not show up in vp_embed.htm, while they do work perfectly in the regular vp.htm program.

Any pointers on how this can be solved?
Thanks for the great program.
Sam

ct

unread,
Sep 10, 2019, 7:07:36 PM9/10/19
to visual-planner-discuss
This has now been fixed.

sam.vand...@gmail.com

unread,
Sep 11, 2019, 2:03:19 PM9/11/19
to visual-planner-discuss
Hi,

Great. However on my local copy of the code it didn't work at first. I got it to work in the end by simply changing the order of the parameters.

So:
var path =
"https://www.googleapis.com/calendar/v3/calendars/" + encodeURIComponent(id) + "/events" +
"?timeMin=" + this.isoStart +
"&timeMax=" + this.isoEnd +
"&key=" + this.api_key +
"&singleEvents=true"
;

Changed to:
var path =
"https://www.googleapis.com/calendar/v3/calendars/" + encodeURIComponent(id) + "/events" +
"?timeMin=" + this.isoStart +
"&timeMax=" + this.isoEnd + "&singleEvents=true" +
"&key=" + this.api_key
;
Weird, but this was the only solution to make it work.:)

Thanks again.
Sam

Op woensdag 11 september 2019 01:07:36 UTC+2 schreef ct:

ct

unread,
Sep 12, 2019, 6:31:23 AM9/12/19
to visual-planner-discuss
OK - this can sometimes happen when the old version is cached.

Reply all
Reply to author
Forward
0 new messages