Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
4535 Widoki

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?

Awatar
Odrzuć

Hi,

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

Najlepsza odpowiedź

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


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
mar 24
1707
3
lip 18
3308
0
maj 22
3715
0
sty 20
5010
2
lip 24
16278