J and Beyond 2013 | An International Joomla! Conference - May 31st - 2nd, 2013, Noordwijkerhout, The Netherlands
It is currently Mon May 20, 2013 3:52 am

Export ICS of just one event  Topic is solved

Discuss JEvents 2.x for Joomla 1.5-2.5 here - club members can use the special club forum for faster response times.
Forum rules
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.

Export ICS of just one event

Postby hsvalle » Sat Dec 15, 2012 2:47 pm

Hi,
we run JEvents 2.2.8 and have an issue with exporting an ICS file for one specific event. Am wondering if you guys would have any suggestion...

So, we have modified JEvents_latest and added a little popup icon so that when the user clicks on the icon 3 options are displayed:
-Add event to Google Calendar
-Add event to Yahoo Calendar
-Download ICS of the event

The first two options work without a problem but the third one generates an ICS file with content that has nothing to do with the event in question.

The URL of the button in the popup to generate the ICS is:

http://www.website.com/index.php?option ... &evid=1130

In the case above the ICS that is generated contains information from a different event altogether (!)

So, I am wondering if I am missing to include any parameter in the URL that generates the ICS file for that particular event?

Or is there a better way to generate an ICS for one particular event?

Thanks in advance, JEvents rocks!
hsvalle
Posts: 2
Joined: Sat Dec 15, 2012 2:38 pm

Re: Export ICS of just one event

Postby Geraint » Tue Dec 18, 2012 10:39 am

evid should be the repeat id (sorry its a bit confusing)
------------
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!
User avatar
Geraint
Posts: 30518
Joined: Fri Feb 15, 2008 6:14 pm

Re: Export ICS of just one event  Topic is solved

Postby hsvalle » Tue Dec 18, 2012 5:09 pm

Thanks, your post helped to narrow down the issue.

I create a new invisible menu item of the type JEvents -> Icalexport and then changed the code of my popup so that instead of using the evid() field I use the id() one and once that is done everything worked fine.

rgds...
hsvalle
Posts: 2
Joined: Sat Dec 15, 2012 2:38 pm


Return to Jevents 2.x (Free Access)

Who is online

Users browsing this forum: Bing [Bot]

Main Menu

User Menu

Hosted By


Who is online

In total there is 1 user online :: 1 registered and 0 hidden (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: Bing [Bot]

Login Form