Skip to Content
Menu
This question has been flagged
1 Reply
2377 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
2101
2
Jun 20
3350
5
Jan 20
5783
2
Feb 18
3917
3
Oct 17
8484