Support

Home Forums Event Espresso Premium iCal Download link on single event page

iCal Download link on single event page

Posted: July 12, 2016 at 2:05 pm

Viewing 7 reply threads


ps

July 12, 2016 at 2:05 pm

Hi EventEspresso support team,
Can you please send me the code on how to offer a ical file download link on a single event page. I only have the ical (ics) file download possibility on the venue page, but I want to link to the venues page to download the ical file.
Is there also a possibility to delete the link to the venue on the single event page.
Thanks a lot for your help and best regards!


Lorenzo Orlando Caum

  • Support Staff

July 12, 2016 at 2:31 pm

Hello,

The ical button will appear next to the datetimes for the event. Have any changes been made to that area of the single event page?


Lorenzo


ps

July 12, 2016 at 3:04 pm

Hi Lorenzo
We needed to customize the single event page. Is there any way to get the code for only the ical file download?
Thanks!


Josh

  • Support Staff

July 12, 2016 at 5:59 pm

You’ll find the code that Event Espresso 4 uses to generate the ical button in our github repository:

https://github.com/eventespresso/event-espresso-core/blob/master/modules/ical/EED_Ical.module.php#L85

You can disable the Venue info from displaying on the single event page by going to Event Espresso > Events > Templates, then set Display Venue Details to No.


ps

July 23, 2016 at 7:06 am

Hi Josh,
Thanks a lot for the link to the file. How do I integrate that code? Any advice? Thanks a lot and best regards!


Josh

  • Support Staff

July 25, 2016 at 11:12 am

Hi there,

It depends on where you want the ical button to be displayed. Normally they’re automatically included with the list of date times.


ps

August 2, 2016 at 7:42 am

Hi Josh,
I would like the ical button to show up right next to the event name and the date and time in the title section. Unfortunately, it doesn’t show up there. Any ideas, how I can solve that issue? Thanks a lot.


Josh

  • Support Staff

August 2, 2016 at 1:19 pm

Normally only the event name is displayed in the title section. Did you happen to customize the templates to that it shows the date and time there too?

Viewing 7 reply threads

The support post ‘iCal Download link on single event page’ 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.

Event Espresso