Posted: February 8, 2021 at 12:21 pm
I am running a number of events and have been asked to add a Trail Event. I need people who have registered to do the Trail event to be able to download a Trail Route Map PDF once they have paid. This is the only event which has this download requirement.
Will it work for you to include the link for the PDF in the ‘Registration Approved’ email sent when the user registers onto the event? You can do that without any custom code and I can guide you through it if it will work for you.
It’s possible to include a link to the PDF on the ‘thank you’ page but to do so will require custom code.
As this is the only event with the download requirement, you have a couple of options for this, both will require a custom message template it just depends on the location on you want to include the link on the email.
First, the simplest option.
Edit the event in question and find the ‘Notifications’ section.
In the email tab, find the ‘Registration Approved’ message type and click on the ‘Create New Custom’.
A model will open asking for a name and description for that template, give it something meaningful so you know what that template is for incase you want to use it again later.
Now click Create Template.
EE will create the template in the background and assign it to the event (the name you just gave the template should show in dropdown). Save the event.
Back to that same section and click the Edit button.
A new window will open to edit that custom template. In the dropdown at the top change it from ‘Event Admin’ to ‘Registrant’ and click Switch Recipient.
The title should now show ‘Event Espresso – Editing Email Registration Approved Template (Registrant Recipient)’, if not you are not editing the correct context.
In the main content, add some text like:
Change the HERE text into a link using the link button on the editor and adding the URL for the PDF.
Save the template.
Now Registrations on that event will use that email with the link to the PDF.
Is that what you need?
That sounds simple enough and should do the job.
You mentioned that there are a couple of ways of doing this. Out of interest, what would be the other method?
Thanks again for the help.
The other option is very similar only with that you can store the URL for the PDF within a custom field on the event and then call the value within the template.
It means you can have a single template that can be used for any event that uses something like this without having to update the template itself.
The biggest difference there is to call a shortcode for an event specific value, you need to be within the event list, so it depends on the location within the email you want to output the link on as to which is easiest overall.
The support post ‘Allow registrants of a particular event to down load a PDF map’ 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.