Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
4178 Zobrazení

My code is like so, which is copied from another template..

 % if user.signature

 ${user.signature | safe}

 % endif

When I create a new Email, the result is like this.

% if user.signature

--
Administrator

% endif

I have tried with the : syntax but all i get is a blank template.

I have tried without the if statement and it works as long as there is a signature..

 ${user.signature | safe}

How can I only display the Signature and not the if statements..

Do I need the if statements??


I do not have the option to view in HTML mode??  

is there an option for it?

Avatar
Zrušit

Hi,

can you delete your template from the database and try again after updating your module ?

Nejlepší odpověď

Ma be, issue with summernote, to rectify just move to html mode and add the code.


Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
bře 24
1286
3
čvc 18
2973
0
kvě 22
3253
0
led 20
4636
2
čvc 24
15636