JEvents 3.1 (Free Access)

Extracting start date, end date, title from icalrepeat  Topic is solved

Forum for JEvents 3.1 for Joomla 3.x and 2.5.
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 rsie » Thu Apr 18, 2013 2:51 pm

I'm currently extracting title and start date from the icalrepeat.detail method, but I don't see how the end date is communicated. It prints on the detail page but the only call I see to get a datestamp is JEVHelper::getYMD() which only gives the start date from what I can see...does anyone know how to do this?

Posts: 8
Joined: Thu Apr 18, 2013 12:50 am

Postby Geraint » Fri Apr 19, 2013 9:38 am

See tye jIcalEventRepeat class and its methods
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
Posts: 42850
Joined: Fri Feb 15, 2008 6:14 pm

Postby rsie » Sun Apr 21, 2013 10:53 pm

Thanks so much for responding...

I basically did an sql query of vevent_detail to extract the description, summary, dtstart, dtend. I originally wrote a plugin for jcalpro to extract this same information which worked fine, so I needed to find out how to extract this info from jevents to send it into the plugin to do the same work. I then instantiated jIcalEventRepeat with the result of the query, the way it was done in jIcalEventDB. Not sure if this is the clean way to do it, but it got the job done. Thanks for your pointing me in the right code direction.

Posts: 8
Joined: Thu Apr 18, 2013 12:50 am

Return to JEvents 3.1 (Free Access)

  • Who is online
  • View new posts
  • View unanswered posts
  • In total there are 0 users online :: 0 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: No registered users