Support

Home Forums Wait List Manager Add-on Templating two of the three waitlist message types not working

Templating two of the three waitlist message types not working

Posted: November 14, 2018 at 2:57 pm

Viewing 2 reply threads


ARAGATO

November 14, 2018 at 2:57 pm

I have templated all message types available in EE 17 out of 19. However, two are not working. These two are:

registration_demoted_to_waitlist
waitlist_can_register

When activating my template pack for those two message types it switches, but throws an error and the main content stays empty:
http://uploads.aragato-server.net/screenshots/20181114af75a15c10.png

I tried just putting something like “test” into the file, but same error.
http://uploads.aragato-server.net/screenshots/20181114ee7013e8d0.png

Even when copying the default main content into the template file it throws the same error.

How to reproduce: Try to template those two message types with any content whatsoever.


Josh

  • Support Staff

November 15, 2018 at 10:55 am

Hi,

I’m not able to replicate this. I set up a repo on GitHub that includes everything I used to test the wait list message packs, maybe that will help with your troubleshooting:

https://github.com/joshfeck/ee_waitlist_message_template_pack_test


ARAGATO

November 16, 2018 at 3:26 am

Hi Josh,

well, it looks like the filenames were the issue.

When creating all my templates fiiles I went through all of them and renamed them according to their receivers, e.g. _admin, _attendee and _primary_attendee. That resulted in having the following template files:

email_registration_added_to_waitlist_content_attendee.template.php
email_registration_added_to_waitlist_subject_attendee.template.php
email_registration_demoted_to_waitlist_content_attendee.template.php
email_registration_demoted_to_waitlist_subject_attendee.template.php
email_waitlist_can_register_content_attendee.template.php
email_waitlist_can_register_subject_attendee.template.php

Obviously, for registration added to waitlist it did not care. But for the other two it resulted in the reported error. Now, after having them renamed (removed _attendee) to

email_registration_demoted_to_waitlist_content.template.php
email_registration_demoted_to_waitlist_subject.template.php
email_waitlist_can_register_content.template.php
email_waitlist_can_register_subject.template.php

it works like a charm.

Thanks.
Resolved.

Viewing 2 reply threads

The support post ‘Templating two of the three waitlist message types not working’ 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