Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
4263 Visualizzazioni

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
Abbandona

Hi,

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

Risposta migliore

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


Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
mar 24
1354
3
lug 18
3025
0
mag 22
3379
0
gen 20
4752
2
lug 24
15788