Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
4206 Vizualizări

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?

Imagine profil
Abandonează

Hi,

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

Cel mai bun răspuns

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


Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
mar. 24
1313
3
iul. 18
2998
0
mai 22
3320
0
ian. 20
4710
2
iul. 24
15712