Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
4273 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ

Hi,

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

Câu trả lời hay nhất

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


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 24
1366
3
thg 7 18
3027
0
thg 5 22
3383
0
thg 1 20
4754
2
thg 7 24
15792