Tuesday, 20 September 2016
  5 Replies
  1.5K Visits
0
Votes
Undo
An organization I am a member of, Gwinnett Woodworkers Association, uses JEvents on their website to schedule events.Many of us use Google Calendar on our phones for personal scheduling. Is there any way to synchronize the association's event schedule with Google Calendar?

Thanks,

Reed Hopkin
Wednesday, 21 September 2016 06:56
·
#175827
0
Votes
Undo
Hello Reed,

There most certainly is! You need to create a new Joomla! Menu item, and set this as iCal Export. In this menu item you can select Google as an export option. This just adds a nice add to google button which allows your users to sync it. Once they add it to google the generate export parameters will stay and updates will automatically go to google.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

Wednesday, 05 July 2017 22:37
·
#190630
0
Votes
Undo
I have BIG problems exporting the calendar to Google Calendar. While a good link is passed to Google and Google lists the imported calendar among the others, google never refreshes the data. It simply does not visit the site to request an updated ICAL dataset.

As a result, events that I add in jEvents never show up in Google.

After quite some research, Google may misinterpret the initial data to think they will last forever with no need to call again. Someone told that setting an "expires" meta in the page header as well as a "do not cache" solved the very same problem on another ICAL calender.


< Expires: Fri, 29 Jan 2010 22:08:58 GMT
< Cache-Control: private


Is it possible to force jEVENTS to do alike? I looked at the protocol and there is no page expiration set in the response header.

While it's easy to add an ICAL calender abo on any iOS, Android users have to do it via Google Calendar. It's quite useless, when half the people do not get event updates.

I get various "expires" results on any other page within my Joomla site except the ical export data. These seemingly do not expire.


Server "nginx"
Date "Wed, 05 Jul 2017 21:32:01 GMT"
Content-Type "text/calendar; charset=UTF-8"
Transfer-Encoding "chunked"
Connection "keep-alive"
Content-Disposition "attachment; filename=calendar.ics"
Thursday, 06 July 2017 09:50
·
#190634
0
Votes
Undo
Please edit the file: /components/com_jevents/views/icals/tmpl/export.php and around line 23, after one of the header statements add this code:


header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Expires: Fri, 07 Jul 2017 00:00:00 GMT");


Then clean your server cache and perform a new subscription to the calendar and let us know if that works for you.

Best!!
Friday, 07 July 2017 06:28
·
#190657
0
Votes
Undo
Thank you for the hint. It helped in the sense that a proper header is now sent.:D
I will report, whether this really helps increasing the update frequency. For now I have to wait until Google decides to refresh, and see the new situation.
Friday, 07 July 2017 11:42
·
#190687
0
Votes
Undo
Yes, that is the thing, we need to wait till Google decides to check teh site again. Please when you can confirm this works, let us know so that we can add it to our next release ;)
  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.