How to comment in template (.tpl) files

If you need to insert a comment in a .tpl file, or comment a block of code to disable it, you must use following notation:

{* THIS IS A COMMENT *}

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to use icons in WHMCS to select the language in client area

To use graphic icons (i.e. flags) instead of a text menu in client area to allow the user the...

Useful MySQL queries for WHMCS

This query replace companyname with firstname and lastname of customer, when companyname is not...

How to disable a customer to pay invoices partly with credit balance

in WHMCS if a customer has not enough credit balance for full payment of an invoice, WHMCS allows...

Tricks for formatting knowledgebase posts in WHMCS

To insert code in a post: use the <pre></pre> HTML tag. Example: .Text in a pre...

How to debug Smarty code in production environment

If you need to debug Smarty code in a production environment, whithout the issue that debug popup...