ez.no / exponential / documentation / development / libraries / ez template / basics / comments
These documentation pages are no longer maintained. Please visit the new documentation site.
Template comments starts and ends with an asterisk (*) inside a template tag. Comments are not displayed in the resulting output and is useful for giving instructions on usage or personal comments. It can also be used to temporarily comment out template code including tags.
Note: Comments cannot be nested, so don't try to comment a comment.
The following template code:
{* this is a comment *} {* This is a multi line comment *} {* The code below was temporarily commented out *} {* {include uri=test.tpl} *} {* {* This nested comment does not work. *} This text will be displayed *} {* Bold display of some text *} <b>eZ template</b>
Will produce this result:
This text will be displayed *} eZ template
Comments