D developer Member Apr 30, 2016 #1 Hi How to use "TWIG as the template engine for campaign templates"?
twisted1919 Administrator Staff member May 2, 2016 #2 @developer - you have to enable the template engine first from /backend/index.php/settings/campaigns/template-engine then you can use the twig syntax in your templates: Code: {% if FNAME == 'John' %} <p>You are john doe.</p> {% endif %}
@developer - you have to enable the template engine first from /backend/index.php/settings/campaigns/template-engine then you can use the twig syntax in your templates: Code: {% if FNAME == 'John' %} <p>You are john doe.</p> {% endif %}