1. arthurbaars
  2. Contribute to JEvents
  3. Monday, 02 April 2012
Importing the ical file below in JEvents version 2.1.12, gives strange results. Moreover the frontend and backend imports behave slightly differently. The ical file consists of a recurring event followed by an exception to the recurrence pattern.

Frontend: Nothing gets imported into the calendar.
Backend: The recurring event gets imported into the calendar, but the exception does not.

Changing the order of the recurring event and the exception does yield the expected result (recurring event with simple exception at 2007/12/24) for both frontend and backend import.


BEGIN:VCALENDAR
PRODID:-//http://Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
VERSION:2.0
METHOD:PUBLISH
BEGIN:VTIMEZONE
TZID:Europe/Amsterdam
X-LIC-LOCATION:Europe/Amsterdam
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700329T020000
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=3
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
CREATED:20070901T091003Z
LAST-MODIFIED:20120302T112410Z
DTSTAMP:20120302T112410Z
UID:bd047bee-c3f5-4f3d-aaad-0fc774c8332d
SUMMARY:Some Description 1
RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO,TU,TH
DTSTART;TZID=Europe/Amsterdam:20070917T150000
DTEND;TZID=Europe/Amsterdam:20070917T180000
X-MOZ-GENERATION:104
END:VEVENT
BEGIN:VEVENT
CREATED:20071106T085512Z
LAST-MODIFIED:20120302T112410Z
DTSTAMP:20120302T112410Z
UID:bd047bee-c3f5-4f3d-aaad-0fc774c8332d
SUMMARY:Some Description 2
RECURRENCE-ID;TZID=Europe/Amsterdam:20071224T150000
DTSTART;TZID=Europe/Amsterdam:20071224T074500
DTEND;TZID=Europe/Amsterdam:20071224T180000
END:VEVENT
END:VCALENDAR
carcam
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
Please take a look at my reply on the other post:

<!-- l --><a class="postlink-local" href="http://www.jevents.net/forum/viewtopic.php?f=18&;t=13596&p=68212#p68212]viewtopic.php?f=18&t=13596&p=68212#p68212[/url]<!-- l -->

By the way, which version of Joomla! are you using?
  1. more than a month ago
  2. Contribute to JEvents
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
This problem also persists after upgrading to JEvents 2.1.14. My Joomla version is 2.5.4 (since yesterday)
  1. more than a month ago
  2. Contribute to JEvents
  3. # 2
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
I'm not sure when this problem started. Until recently the code was correctly matching the recurrence-id that needed changing with the correct set of repetitions - it could be because Mozilla outputs the event and recurrence in a different order to google and other online calendar.

Anyhow if you unzip and upload this file to components/com_jevents/libraries/iCalICSFile.php the problem will be resolved/

Thanks

Geraint
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!
  1. more than a month ago
  2. Contribute to JEvents
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Backend import works correctly, in both orders.

Frontend import still does not work. Are you using different code for the frontend imports?
  1. more than a month ago
  2. Contribute to JEvents
  3. # 4
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
No they use the same library code - can you describe what you are doing in the frontend exactly and I'll try to recreate the issue
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!
  1. more than a month ago
  2. Contribute to JEvents
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
[list:2i99kqfc]
[*:2i99kqfc] In the backend: create a new empty (native) calendar[/*:m:2i99kqfc]
[*:2i99kqfc] Turn on "Allow Frontend Import of Events" in JEvents Config[/*:m:2i99kqfc]
[*:2i99kqfc] Login to frontend, and go to calendar (month view)[/*:m:2i99kqfc]
[*:2i99kqfc] Click on "Import Ical events"[/*:m:2i99kqfc]
[*:2i99kqfc] Select ical file, choose the empty calendar, and upload[/*:m:2i99kqfc]
[*:2i99kqfc] Reload calendar page[/*:m:2i99kqfc][/list:u:2i99kqfc]

After the last step the calendar should display events for all Mondays, Tuesdays, and Thursdays
  1. more than a month ago
  2. Contribute to JEvents
  3. # 6
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
This was a slightly different issue to do with the the default access level of imported events.

This new file resolves this
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!
  1. more than a month ago
  2. Contribute to JEvents
  3. # 7
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks a lot! Now it seems to work fine.
  1. more than a month ago
  2. Contribute to JEvents
  3. # 8
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

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.