It is currently Tue Sep 07, 2010 7:24 am
   
Text Size

iCal export from jEvents

This is a forum dedicated to JEvents 1.5.

Please post bug reports, comments, experience about JEvents 1.5 here.
Forum rules
Please include as much detail in any test or bug reports for JEvents 1.5 as possible.

First of all, check if you are running the latest available version of Joomla! and JEvents. Posts for issues, where both systems are not updated, will be ignored.

We need the following at least:

* PHP version (e.g. 5.2.5). Note: Support for PHP4 is discontinued.
* Joomla! version
* JEvents version
* Web Server software (Apache or IIS with version number if possible)
* Server Operating system (e.g. Linux, Windows, Solaris, Darwin ...)
* Database version
* memory_limit from your phpinfo
* Web browser and version

Please enable error reporting and include any error messages in your posting. You do this via the Joomla Configuration - set "error reporting" to "maximum" on the Server tab.

Finally, please describe the steps required to recreate the problem and also please enable error reporting and give us any error messages generated.

iCal export from jEvents

Postby hifi » Fri Jul 10, 2009 7:07 am

Hi,

I made some coding, and were able to (at least in my environment :)) get ical export from jEvents to work.

Codes:
http://hifi2.pp.fi/temp/jevents_ical.zip

Some instructions:
    ZIP-file should be decompressed in components/com_jevents -directory (puts files to right place)
    GUI can be accessed through address "index.php?option=com_jevents&task=ical.ical" (there's translations missing, just placeholders added).

And iCal file isn't using timezone (yet). I'll tell in this thread when I have updated exporter.

EDIT: And template/view/theme is for default ONLY

EDIT: UPDATED 3.8.2009 Added new version of exporter. Changes:
    Moved exporter from modlatest to own controller icalexport
    Fixed export of FREQ-value

EDIT: UPDATED 8.8.2009 Added missing new line between BEGIN:VEVENT and UID-value
Last edited by hifi on Sat Aug 08, 2009 6:03 am, edited 2 times in total.
hifi
Contributor
 
Posts: 87
Joined: Tue Oct 28, 2008 6:29 am

Re: iCal export from jEvents

Postby Geraint » Fri Jul 10, 2009 8:22 am

Great work Hifi.

Tested it and the extract works - apart from a typo "rintelval" instead of "rinterval" in modlatest.php.

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!
Geraint
 
Posts: 10008
Joined: Fri Feb 15, 2008 6:14 pm

Re: iCal export from jEvents

Postby hifi » Fri Jul 10, 2009 8:58 am

Geraint wrote:Great work Hifi.

Tested it and the extract works - apart from a typo "rintelval" instead of "rinterval" in modlatest.php.

Geraint


Thanks, updated zip file.
hifi
Contributor
 
Posts: 87
Joined: Tue Oct 28, 2008 6:29 am

Re: iCal export from jEvents

Postby gporterfield » Sat Jul 25, 2009 8:28 pm

While searching for a new events tool for our church website, I started looking at jEvents. One of our requirements is iCal support, so I tried the steps mentioned in this message thread (on my development server). All I get are #500 errors stating the view does not exist. I read the steps in the thread several times and believe that I have followed them exactly. This is there something else "between the lines" that I need to know.

PHP version = 5.26
Joomla! version = 1.5.10
JEvents version = 1.5.1
Web server = Apache 2.2.9
Server OS = Linux (Mandriva)
DB version = 5.0.8.1
Memory limit = 32M
Web browser = Firefox 3.0.12

Thanks,
George
gporterfield
 
Posts: 2
Joined: Sat Jul 25, 2009 8:15 pm

Re: iCal export from jEvents

Postby dpsghh » Sun Jul 26, 2009 10:49 am

@gporterfield: did you try with default template?

@Geraint: Are you going to put this feature in next builds of jevents 1.5.2…?

Regards, MacJoomla
User avatar
dpsghh
Gold Members
 
Posts: 345
Joined: Sun Jun 28, 2009 10:05 am
Location: Germany

Re: iCal export from jEvents

Postby dpsghh » Sun Jul 26, 2009 11:33 am

hello again ;-)

just installed and tested. For me it works nearly fine with Joomla 1.5.12 and Jevents 1.5.2 and default template. Using another template gives me an error as expected.

just two things:

1. downloaded file is called "calendar.ics.html" wouldnt just "calendar.ics" be better/more functional?
2. usually clicking an ics file on my mac, imports events to ical, but opening this ics file it cant be recognized as ics…

do you have an idea to this?
User avatar
dpsghh
Gold Members
 
Posts: 345
Joined: Sun Jun 28, 2009 10:05 am
Location: Germany

Re: iCal export from jEvents

Postby hifi » Sun Jul 26, 2009 5:32 pm

dpsghh wrote:hello again ;-)

just installed and tested. For me it works nearly fine with Joomla 1.5.12 and Jevents 1.5.2 and default template. Using another template gives me an error as expected.

just two things:

1. downloaded file is called "calendar.ics.html" wouldnt just "calendar.ics" be better/more functional?
2. usually clicking an ics file on my mac, imports events to ical, but opening this ics file it cant be recognized as ics…

do you have an idea to this?


1. that file should be calendas.ics, at least according to code (and my memory, when I tested that. Although can't test now, because my dev machine's graphic card broke friday). Could that .html -end come from your browser?
2. Does it say some error? I tested those files with Sunbird, and with other installation of jevents, not with anything else intentionally. I think that I once accidentallydouble clicked that .ics-file, and Outlook displayed somne error about it, but can't remember for sure now.

And to gporterfield: did you used default view or some other? If some other, you need to copy that view from default to that view, because it's only theme that had those ical export views.
hifi
Contributor
 
Posts: 87
Joined: Tue Oct 28, 2008 6:29 am

Re: iCal export from jEvents

Postby dpsghh » Sun Jul 26, 2009 5:39 pm

hifi wrote:1. that file should be calendas.ics, at least according to code (and my memory, when I tested that. Although can't test now, because my dev machine's graphic card broke friday). Could that .html -end come from your browser?
2. Does it say some error? I tested those files with Sunbird, and with other installation of jevents, not with anything else intentionally. I think that I once accidentallydouble clicked that .ics-file, and Outlook displayed somne error about it, but can't remember for sure now.

1. I can confirm, on win pc it is without html, on Mac with Safari it is with html…
2. I can confirm error with outlook. On Mac, ical just says, couldnt read…
User avatar
dpsghh
Gold Members
 
Posts: 345
Joined: Sun Jun 28, 2009 10:05 am
Location: Germany

Re: iCal export from jEvents

Postby gporterfield » Mon Jul 27, 2009 9:52 pm

Some times the correct solution is the simplest thing.... file permisssions. :shock:

Once that worked, I copied the files over to the view I preferred, and it worked there too. Now to see if does what we were trying to accomplish.

Thanks for all the suggestions.
gporterfield
 
Posts: 2
Joined: Sat Jul 25, 2009 8:15 pm

Re: iCal export from jEvents

Postby tac12 » Sun Aug 02, 2009 3:18 pm

Great addition, but I can't get the ics to read into either iCAL or Google Calendar.

Google report: Failed to import events: Unable to process your iCal/CSV file..

Error at line 24: Invalid FREQ rule part 'none' in recurrence rule

iCAL: This calendar file is unreadable. No events have been added to your iCal calendar.

Any suggestions?
tac12
 
Posts: 6
Joined: Sun Aug 02, 2009 3:14 pm

Next

Return to JEvents 1.5 (Free Access)

Who is online

Users browsing this forum: wrogo, Yahoo [Bot] and 1 guest


Who is online

In total there are 3 users online :: 2 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 94 on Tue Sep 01, 2009 12:33 am

Users browsing this forum: wrogo, Yahoo [Bot] and 1 guest

Login Form