In this support topic: https://eventespresso.com/topic/ical-link-in-event-posts-does-not-work/ staff states that ical links are not available in event posts. Is this still the case? Is there no method of template or functions modification that will allow generation of an ical link in an event post (like trying to build a new $all_meta array in the single-espresso_event.php file?)? Any suggestions on where to start with that or is it just not really possible?
Thanks, Dean. I’ve tried adding that code, but When used in single-espresso_event.php the resulting ics file is not populated with the event details the way it is in event_post.php. I assume because it does not have access to the $all_meta array. Referring to my original question, is it a matter of building this array in the single-espresso_event file in order to shim this functionality into event posts instead of just in espresso events?
OK, so the event_post.php does contain the $all_meta array. However, it isn’t the same data that is in the event_list.php file.
As far as I can tell, if that list from event_list.php is copied over to the event_post.php file to replace its $all_meta array the post ICAL is the same as the event ICAL (the event will need to be resaved, to refresh the post).
I’ll raise a developer ticket on this as, personally, I see no reason why these should be different arrays.
Viewing 3 reply threads
The support post ‘still no ical links in event posts?’ 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.