If you want to override the default pluggable functions for the iCal feature. Look in the event-espresso/includes/functions/ical.php file. You should be able to override the “espresso_ical” function.
I tooled around with the function file and this looks like what I need. I’m not sure how to safely override the function though (I know the code, just not where to place it). Where in my overrides can I do this? In the custom_functions, custom_includes?
Main thing I need to do is un-comment the Event Description parts of this so that the description gets sent through the link arguments and into the calendar. I also need to add/tweak some other things.
You can copy the entire modified espresso_ical function into /wp-content/uploads/espresso/custom_functions.php and Event Espresso will load functions from there before it loads its functions.
Yep this worked, I’m wondering why the Google maps link is not available though. I suppose I can build it out myself with the location information provided but it would be nice to include that. I tried using the google_map_link meta value but it was formatting my link strangely so I left it out.
I was able to get it to pass to the iCal but when I tested in Outlook it stripped some of the ASCII characters out of the link and I was left with a partial link. It may not be possible for iCal / Outlook to work together on this :/
Viewing 6 reply threads
The support post ‘iCal Custmization’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.