Support

Home Forums Event Espresso Premium Add to Calendar Button to Registration Confirmation Email

Add to Calendar Button to Registration Confirmation Email

Posted: May 10, 2022 at 9:37 am


thinkbiglearnsmart

May 10, 2022 at 9:37 am

Good Morning!

We are still using EE3 but want to add a “Add to Calendar” button on our registration confirmation emails.

Are we able to add this as a shortcode?

I’m not sure if this feature is enabled but I know it was available at some point.

Thanks for your support!


Tony

  • Support Staff

May 10, 2022 at 12:20 pm

Hi there,

EE3 has a [add_to_calendar] shortcode for this.

Are you using the email manager to manage multiple different emails for your events?

If so you can add the above in Event Espresso -> Email manager -> {edit the email}

If not, you can do it for the default email in Event Espresso -> General Settings -> Email settings.


thinkbiglearnsmart

May 16, 2022 at 10:06 am

Thank you for this information!

This worked, but there are a few questions we have:

1. Is there any way to get the dates for the calendar invite to appear to be the dates of the training class? Our class we tested it on is June 21-22, but the event is only displaying on the 21st?

2. Is there anyway to include details in this calendar invite? It doesn’t include anything at this time.

Thank you so much!


Tony

  • Support Staff

May 18, 2022 at 5:36 am

1. Is there any way to get the dates for the calendar invite to appear to be the dates of the training class? Our class we tested it on is June 21-22, but the event is only displaying on the 21st?

This looks like a bug and I’ve created a ticket to check into this, however, I can give you what I believe is the fix if you are comfortable enough with PHP and FTP to apply it?

In \event-espresso\includes\functions\ical.php

Around like 106/107 you should have something like:

$end_date = !empty($meta['end_date_unformatted']) ? $meta['start_date_unformatted'] : $meta['start_date'];

Change that to be:

$end_date = !empty($meta['end_date_unformatted']) ? $meta['end_date_unformatted'] : $meta['end_date'];

2. Is there anyway to include details in this calendar invite? It doesn’t include anything at this time.

This is a little tricky as it depends on what details you want to include, can you add some more details?

The support post ‘Add to Calendar Button to Registration Confirmation Email’ 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