Skip to Content
Menu
This question has been flagged
1 Reply
1091 Views

In Mass Mailing API I have defined a custom XML template.


I have no problem with IF condition if I write it as following :

% if condition:

    <p>Hello World!</p>

% endif


But as soon as I put inside a consequent HTML code, the line "% if condition:" is cleared and the line % endif still remain reaching an error : 

Please help me, I really need this conditionnal table in my template

Avatar
Discard
Best Answer

Please be aware that the % sign must be the first character on a line.

Avatar
Discard
Related Posts Replies Views Activity
1
Mar 24
575
2
Jun 20
2012
5
Jan 20
4541
2
Feb 18
2566
3
Oct 17
7041