Support

Home Forums Event Espresso Premium Code from Divi template appearing in email notifications

Code from Divi template appearing in email notifications

Posted: January 26, 2022 at 2:56 pm

Viewing 5 reply threads


Kerry@novalda.com

January 26, 2022 at 2:56 pm

Hi there, we’re using the templates in Divi to add the title to a bigger header graphic. In our notification emails, instead of showing what it is meant to look like, it’s showing the code for this area. Is it possible to hide this code somehow?


Tony

  • Support Staff

January 26, 2022 at 3:22 pm

Hi Kerry,

It’s been a while since I’ve even looked at Divi, can you add a screenshot that shows both what you are adding and the output?

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots


Kerry@novalda.com

January 27, 2022 at 12:11 am

Sure – I’ve posted them both to this page:

https://paper.dropbox.com/doc/Example-of-email-with-Divi-code-in-it–BawkT9hOv2XQEhwX0T6zVj8VAQ-RredgJSPx5UTy0E9xMg4K

thanks!


Tony

  • Support Staff

January 27, 2022 at 3:30 am

Oh, right ok. I understand now.

In short, you can’t use Divi shortcodes in the message templates (or any other ‘WordPress’ shortcodes for that matter). The message system is completely separate system with its own set of shortcodes so for the above you would need a completely custom message template (which isn’t all that easy to do currently).

See the developer docs on message templates and variations here:

https://github.com/eventespresso/event-espresso-core/tree/master/docs/E–Messages-System


Kerry@novalda.com

January 27, 2022 at 3:17 pm

Hi, thanks for checking.

I don’t think I have added any divi shortcodes into the message templates though. I was referring to the divi page templates – I think the message is pulling the event page into the email?

I’m using a template in Divi for the header area on these pages, to make the blue background with the big title area.


Tony

  • Support Staff

January 28, 2022 at 3:58 am

My apologies, I completely misunderstood here, I thought you were adding those into the message templates to try and get them to look the same.

Ok, so… is this happening with all of your messages or just the Payment Received template?

Are you using the global message template or custom templates?

You can check this by editing an event this has happened on and going to the ‘notifications’ section at the bottom, in the email tab what does it should in the dropdown for your messages? (Add a screenshot if preferred)

Viewing 5 reply threads

The support post ‘Code from Divi template appearing in email notifications’ 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