Posted: April 2, 2019 at 4:19 am
I have read your previous support thread on this topic but am still having trouble. I have created a custom message for approval of waitlisted participants. I have used the shortcode in this format in the HTML:
|
|
Hi there, When you say a custom message, have you created a custom message template or edited the ‘default’ template? The ‘default’ templates are used by default for all events so if the changes you are making are for all events you can just edit that template, if it’s for a specific event and you want the default template used for others you need a ‘custom template’. If you’ve created a custom template, have you selected that template on the event itself? – https://monosnap.com/file/VZAvV1unl9JJaRQzqss9ynTRQCclhJ |
|
Hi Tony, yes it is a custom template and I have selected it within the event. |
|
I have a PDF with 3 screenshots that might help you spot the issue. How can I send it to you? |
|
No need for screenshots, I’ve managed to reproduce and found the cause (which took some tracking down!). For future reference, with screenshots you need to host the image (or a PDF containing them if that’s what you prefer) somewhere and then post the link here for us to view, for example with the above you could use your sites media library, upload the PDF and then add the link here for us to download. We have some more examples here: https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots The fix for this requires a change to the waitlist add-on with how it constructs the data used in the message, I can give you a simple path that should work if your are comfortable enough with PHP to apply it? In In the
Just above that first line, add this:
What that does is set up the Event Author data for the first event passed to the message (with this message type there should only be one single event for the message, but its set up to handle many if that should ever become available, so this always just uses the first). Generally, we advise again modifying core but I’ve created a ticket to have either the above or something similar included in the next version of the waitlist add-on, so in this specific case it shouldn’t matter. |
|
Thank you Tony! |
|
You’re most welcome. Just curious, did you try the above or are you waiting for the next release? |
|
I used your code and it worked. Thank you. |
|
Great, thanks for for testing it out 🙂 |
|
The support post ‘EVENT_AUTHOR_EMAIL shortcode’ 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.