tel8618217223380 / restylegc

Automatically exported from code.google.com/p/restylegc
0 stars 0 forks source link

Day View with certain date won't load #43

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Unfortunately my Google Calendar has stopped working again and I have been able 
to boil it down to something with restylegc again. Why does Google keep 
changing things!

My default view is DAY view but to do show this properly I need to add the 
"date=" code to the embed src. This has been working fine up until Sunday Nov. 
17th. The calendar now is stuck on eternal "Loading" and will not show. If I 
switch back to the standard Google embed code the day view works again as it 
should. If I remove the "date=" code, with restylegc, the calendar work again 
no problem. Something happens when the two are together.

I know this is probably a very isolated problem, as not a lot of people use the 
Day view. But for my club's calendar it is necessary to see the current day.

I've created a temp page to show the issue with the calendar. The top calendar 
is with the "date=" code and restylegc and the bottom is the same code but 
using the default google.com embed URL. Unfortunately if I don't use the 
"date=" code it the DAY view defaults to the wrong day.

http://abbotsfordfishandgameclub.org/test-calendar/

Any help would be appreciated.

Original issue reported on code.google.com by geoff.fr...@hiwirecreative.ca on 17 Nov 2014 at 11:22

GoogleCodeExporter commented 9 years ago
https://developers.google.com/google-apps/calendar/terms   

Looks like there were some changes on Nov. 17 

Original comment by rseyb...@grafton.k12.wi.us on 18 Nov 2014 at 4:27

GoogleCodeExporter commented 9 years ago
Any ideas on how it can be fixed?

Original comment by geoff.fr...@hiwirecreative.ca on 18 Nov 2014 at 10:07

GoogleCodeExporter commented 9 years ago
I also had the problem with a restyle calendar, agenda and month view. It got 
stuck in 'loading'.  Yesterday, I added the $url =  "https:" . 
$_SERVER['QUERY_STRING']; fix to the restylegc-js.php file, which seemed to fix 
the problem, but it reverted later to the continuous loading, with some 
exceptions.

1. If I set a start and finish date (&date=) to an agenda view, the calendar 
loads correctly, but you can't see previous dates.
2. If I bring the calendar in as a month view, it displays perfectly. But, gets 
stalled when switching to other views.
Maybe this info will help someone figure out the problem.  It's beyond my skill 
level.

Original comment by eileen...@gmail.com on 19 Nov 2014 at 4:06

GoogleCodeExporter commented 9 years ago
I also have some restyle calendars with issues as well and I'm looking for a 
fix. Maybe we need to update the PHP code to add a Calendar API key which is 
part of the APIv3?

Original comment by haw...@gmail.com on 19 Nov 2014 at 10:25