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

Hook to create a fake invoice in WHMCS

This hook creates a fake, empty pro-forma invoice each time another pro-forma invoice is paid....

How to prevent the user to use different currencies

It may happen that, for various reasons, you need to configure different currencies in your...

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...

simple php script to barely import domain records into WHMCS

If the number of domains to be imported in your WHMCS is not huge (i.e., less than 200 domains),...

Useful MySQL queries for WHMCS

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