10928 Posts in 2612 Topics by 1809 members
|Go to End|
18 July 2009 at 9:20am Last edited: 18 July 2009 9:21am
I would like to be able to add a calendar event from my site to our users outlook calendar but when I try to import the .ics file I get this:
"This error can appear if you have attempted to save a recurring Lunar appointment in iCalendar format.
To avoid this error, set the appointment option to Gregorian instead of Lunar."
If I open the .ics file in notepad I get this:
First off this is not a recurring event, I'm not sure if that's just outlook being an awesome mail client or if there is something I am not seeing in the .ics file that flags it a recurring event.
Is there anything I can do to get this to work?
19 July 2009 at 6:02am
Well, Outlook is definitely awesome, no question about that. That's kind of annoying that it has such a requirement because there's no way to predict where the ICS file will end up, so setting ICS files to use the lunar CALSCALE property will have a global effect and may result in lost functionality for everyone using normal mail clients.
I've made the CALSCALE property a configurable param in the Calendar class. It defaults to GREGORIAN, but you can override it in your mysite/_config.php.
See if that works for ya.
Also, ICS files are not set up to handle recurring events yet. Right now you just get the single date that you click on. Eventually, I want to have two buttons, one for "Add this date to calendar" and one for "Add all dates to calendar"
21 July 2009 at 2:10am
I get this:
Fatal error: Access to undeclared static property: Calendar::$calScale in /var/www/silverstripe/event_calendar/code/Calendar.php on line 50
21 July 2009 at 2:36am
Umm.. Well, it's there. I'm looking at it right now. When did you last update your SVN?
21 July 2009 at 2:43am
Never pulled from SVN just grabbed the lastest release.
21 July 2009 at 2:46am
Hmm.. Well, the SVN is on revision 60 now. So I'm not sure what's wrong with the ZIP file. It's supposed to automatically update, but it's way behind. Best to use SVN because this project gets updated very frequently.
|Go to Top|