Support

Home Forums Event Espresso Premium Register Message Type "Batch" for new Message Template Pack

Register Message Type "Batch" for new Message Template Pack

Posted: January 27, 2017 at 9:00 am

Viewing 4 reply threads


ARAGATO

January 27, 2017 at 9:00 am

I have registered several message types already and would like to register the message type for batch, too.
http://uploads.aragato-server.net/screenshots/20170127b625ab186b.png

I tried adding ‘batch’ to my supports array, but it does not work:
http://uploads.aragato-server.net/screenshots/201701271d95dc49f6.png

When having a look at the core event-espresso-core-master/core/libraries/messages/defaults/default there were no batch template as well.

Please advise.


Josh

  • Support Staff

January 27, 2017 at 11:51 am

The batch templates in /core/libraries/messages/defaults/default/ are actually:
email_newsletter_subject.template.php
email_newsletter_content.template.php
email_newsletter_newsletter_content.template.php


ARAGATO

January 28, 2017 at 12:12 am

Thanks, I was able to add the “newsletter” to my supports array and created these templates. However, it does not behave the same as the other templates.

First of all, when I open the message type, the template structure does not show the “default” option any more. My custom template is chosen directly.
http://uploads.aragato-server.net/screenshots/201701289330c0f6e9.png

This would not be much of a problem, but the template files are not pulled. I resetted multiple times, but it always pulls the default template values and not my own templates:
http://uploads.aragato-server.net/screenshots/2017012823d51e6cd4.png


Josh

  • Support Staff

January 30, 2017 at 2:34 pm

It may be best if you can open a github issue, and the more information you can post there (including code examples), the better.

https://github.com/eventespresso/event-espresso-core/issues


ARAGATO

January 30, 2017 at 11:59 pm

Ok Josh, I will do.

Viewing 4 reply threads

The support post ‘Register Message Type "Batch" for new Message Template Pack’ 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