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

DomainRegister WHMCS Registrar Module - install and setup

1 - open a ticket in Reseller Support department, asking us to enable you to API usage(note: you...

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

How to add SEO META TAGS in WHMCS pages

In order to add custom META TAGS in EHMCS pages for SEO purposes, you need edit your current...

function createtodoitem

This function can be used in WHMCS modules to create a new to do item in the "to do" tool of...