Our client has requested an “Add to Calendar” button be added to the Ticket Notice and Registration email(s). In the email templates, I’m unable to access a single date/time to build a link string that works like an add-to-calendar feature. Do you have a built-in or advanced method of providing this type of link?
Yes this is built in. You can use the [ICAL_LINK_*] shortcode that’s available to use within the [DATETIME_LIST] section of the respective email templates.
I added “[ICAL_LINK_*]” to the section above, but in the test email, I don’t see any additional content with a calendar link. (For “Ticket Notice” email)
Full code was:
ADD TO CALENDAR: [ICAL_LINK_*]
Do I need to update something in the “Main Content” field?
Yes, you will need to add a couple of changes for the above to work.
In Main Content, add [EVENT_LIST] in the location you want the iCal to be output.
Then in the EVENT_LIST section, you’ll need to add [DATETIME_LIST]
So main content will call EVENT_LIST and then EVENT_LIST will call DATETIME_LIST.
DATETIME_LIST will output your iCal Links.
Viewing 3 reply threads
The support post ‘Add to Calendar Button in 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.
Support forum for Event Espresso 3 and Event Espresso 4.