Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to comment on template files? (.tpl)

I am trying to do some commenting on a .html.tpl file I'm maintaining using

<!-- -->

but it would return syntax error.

How do you put comment on such files?

like image 636
Woppi Avatar asked Oct 21 '10 07:10

Woppi


2 Answers

Solved! To comment on such files...I should use

{* INSERT COMMENT HERE *}
like image 84
Woppi Avatar answered Oct 18 '22 14:10

Woppi


My file name is product_form.tpl It works to me.

<!-- INSERT COMMENT HERE -->
like image 29
Y. Joy Ch. Singha Avatar answered Oct 18 '22 14:10

Y. Joy Ch. Singha