Integrating PHP Live! with WHMCS is a simple process of pasting the HTML Code into a template (.tpl) file.
- Open an FTP connect to your web server.
- Locate the directory where you installed WHMCS.
- Within the WHMCS directory, access the
- Inside the
templates/portal/ directory, there will be numbers of template (.tpl) files. The two primary templates of interests are the "header.tpl" and the "footer.tpl". Both the "header.tpl" and the "footer.tpl" files are typically included on every page, thus, it is recommended to place the PHP Live! HTML Code in either of these files. However, you can place the HTML Code in any of the template files.
For "header.tpl" file, be sure to paste the HTML Code anywhere AFTER the <body> tag. If placing the code in the "footer.tpl" file, be sure to paste the HTML Code anywhere BEFORE the </body> tag.
<!-- PHP Live! HTML Code -->
- Save the file and done!