Jevents 2.x (Free Access)

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 follow these steps:

1. Update all JEvents add on's first, via the Joomla! Updater
2. Copy and Paste the JEvents Support Information from the JEvents Control Panel.
3. If you get a 500 error OR white page, enable Maximum Error Reporting in Joomla! Global Config and visit the page again, this should give you a more detailed error and help us provide a prompt response.

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

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: 42795
Joined: Fri Feb 15, 2008 6:14 pm

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
  • View new posts
  • View unanswered posts
  • 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: Google [Bot]