Skip to Content
Menu
This question has been flagged
1 Atsakyti
1755 Rodiniai

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

Portretas
Atmesti
Best Answer

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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
kov. 24
1376
2
birž. 20
2612
5
saus. 20
5100
2
vas. 18
3125
3
spal. 17
7866