Posted: May 31, 2013 at 2:41 pm
What are the available properties in the event object? Didn’t see it in the docs. In espresso-calendar.php line 440 – 827, seems like the [code]jQuery(document).ready(function($) {[/code] closing tag is commented out. |
|
Hi Kris, Is this what you’re looking for: http://arshaw.com/fullcalendar/docs/event_data/Event_Object/ I checked and in the copy of espresso-calendar.php I have line 827 is not commented out. Here’s what the current stable looks like on lines 827-829: }); </script> If your copy has the closing tag commented out you might try downloading a fresh copy. |
|
thanks for the JS docs, would happen to have the object properties for the Event Espresso Event object as well? so I can grab the venue title. as far as the espresso-calendar.php i found an apostrophe on line 749 that doesn’t seem to belong, downloaded the latest version today, http://d.pr/i/wXvU thats what was making my editor freak out |
|
Hi Kris, I checked and the venue tables aren’t being queried in the calendar add-on. This would take some custom development to get the venue titles to display in the calendar. I downloaded a fresh copy of the calendar add-on and checked for an apostrophe on line 749. I’m not seeing an extra apostrophe there. I wonder if the editor that you’re using is adding it? |
|
maybe that happened. Heres the sql to get venue information passed into the event object in the calendar [code] //Get all events $sql = “SELECT e.*, ese.start_time, ese.end_time”; if (isset($espresso_calendar[‘disable_categories’]) && $espresso_calendar[‘disable_categories’] == false) { if ( isset($org_options[‘use_venue_manager’]) && $org_options[‘use_venue_manager’] == ‘Y’ ) { $sql .= ” LEFT JOIN ” . EVENTS_START_END_TABLE . ” ese ON ese.event_id= e.id “; [/code] |
|
The support post ‘Available properties in the event object on the calendar’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.