Events Made Easy › Forums › Generic › Loop when using a template in an other email-template
Tagged: email template loop
- This topic has 4 replies, 2 voices, and was last updated 5 years, 1 month ago by Franky.
-
AuthorPosts
-
Tue 15 Oct 2019 at 22:06 #60377AnonymousInactive
Hello Franky,
First of all many thanks for the great EME and especially for the further development!
I think I discovered the following bug:About Email Templates:
I tried to create a “email footer” as a template (eg: [eme_events template_id = 1] as in the documentation 15.)If you now integrate the template with the variable in another template, this creates a loop in the booking-email.
Example:
The footer-template [id = 1]:
“……
Our contact person for this event (for example for questions or suggestions):
#_CONTACTNAME (‘#_CONTACTEMAIL’)Imprint: ….”
Now include the footer template in another email-template:
“… Thank you for your booking![eme_events template_id = 1]
…
”Booking-email Result:
“… Thank you for your booking!Our contact person for this event (for questions or suggestions): <br />
Mike Mouse (‘& # 104; & # 104; & # 104; & # 104; & # 104; & # 104; & # 104; & # 104; & # 64; & # 116; & # 45; & # 111; & # 110; & # 108; & # 105; & # 110; & # 101; & # 46; & # 100; & # 101; ‘) <br />
<br />
Our contact person for this event (for questions or suggestions): <br />
Mike Mouse (‘& # 104; & # 104; & # 104; & # 104; & # 104; & # 104; & # 104; & # 104; & # 64; & # 116; & # 45; & # 111; & # 110; & # 108; & # 105; & # 110; & # 101; & # 46; & # 100; & # 101; ‘) <br />
<br />
Our contact person for this event (for questions or suggestions): <br />
Mike Mouse (‘& # 104; & # 104; & # 104; & # 104; & # 104; & # 104; & # 104; & # 104; & # 64; & # 116; & # 45; & # 111; & # 110; & # 108; & # 105; & # 110; & # 101; & # 46; & # 100; & # 101; ‘) <br />
<br />
Our contact person for this event (for questions or suggestions): <br />
Mike Mouse (‘& # 104; & # 104; & # 104; & # 104; & # 104; & # 104; & # 104; & # 104; & # 64; & # 116; & # 45; & # 111; & # 110; & # 108; & # 105; & # 110; & # 101; & # 46; & # 100; & # 101; ‘) <br />
<br />
Our contact person for this event (for questions or suggestions): <br />
Mike Mouse (‘& # 104; & # 104; & # 104; & # 104; & # 104; & # 104; & # 104; & # 104; & # 64; & # 116; & # 45; & # 111; & # 110; & # 108; & # 105; & # 110; & # 101; & # 46; & # 100; & # 101; ‘) <br />
<br />
Our contact person for this event (for questions or suggestions): <br />
Mike Mouse (‘& # 104; & # 104; & # 104; & # 104; & # 104; & # 104; & # 104; & # 104; & # 64; & # 116; & # 45; & # 111; & # 110; & # 108; & # 105; & # 110; & # 101; & # 46; & # 100; & # 101; ‘) <br />
<br />
Our contact person for this event (for questions or suggestions): <br />
Mike Mouse (‘& # 104; & # 104; & # 104; & # 104; & # 104; & # 104; & # 104; & # 104; & # 64; & # 116; & # 45; & # 111; & # 110; & # 108; & # 105; & # 110; & # 101; & # 46; & # 100; & # 101; ‘) <br />
<br />Perhaps can you help/solve this!? Thanks!
Thorsten / germany für http://www.fcv-ft.deWed 16 Oct 2019 at 09:42 #60378FrankyKeymaster[eme_events] shows a list of events (and is not meant to show just a template), and because you define a template for it, that template gets repeated for each of the events (by default scope future). See https://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_events/
You should just use “Our contact person for this event (for example for questions or suggestions):
#_CONTACTNAME (‘#_CONTACTEMAIL’)” in your email template itself. Including one template into another is not supported by EME.Wed 16 Oct 2019 at 22:08 #60390AnonymousInactiveThanks for this info.
Is there another way to integrate an general e-mail footer that I have not found yet, so you do not always have to change it in every email-template?Thu 17 Oct 2019 at 00:03 #60394FrankyKeymasterCurrently not. I added the inclusion-option to my list of todos.
Thu 17 Oct 2019 at 00:21 #60395FrankyKeymasterThe next version will allow this: #_INCLUDE{xx} (with xx being a template id) in a template.
-
AuthorPosts
- The forum ‘Generic’ is closed to new topics and replies.