Twig not rendering in Web-Version

p.am

New Member
I'm creating an newsletter with a personalized salutation and a fallback if the name of the subscriber is not set.

{% if FNAME and LNAME %}Dear [FNAME] [LNAME]{% else %}Dear Sir or Madam{% endif %}

So far so good. The salutation shows correctly in the Newsletter-Mail itself but the webversion has an issue. It shows the plain twig snippet:

"{% if FNAME and LNAME %}Dear Max Mustermann{% else %}Dear Sir or Madam{% endif %}"

How can i fix it?
 
@p.am - what version of the app are you using ?
I believe this has been fixed in 1.5.4.

Also, when using twig, use only twig variables, like:
Code:
{% if FNAME and LNAME %}Dear {{FNAME}} {{LNAME}} {% else %}Dear Sir or Madam{% endif %}
 
Back
Top