Integrations: WHMCS

To integrate PHP Live! with WHMCS, here is what you will want to do:
  1. Open an FTP connect to your web server.
  2. Locate the directory where you installed WHMCS.
  3. Within the WHMCS directory, access the templates/ directory.
  4. Inside the templates/ directory, access the template you are currently utilzing (example: templates/my_template/). Inside the templates/my_template/ 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.
    When pasting the HTML Code, be sure to use the {literal} tag to prevent the javascript code from being automacially removed by the template system. For example:
    <!-- Paste Your PHP Live! HTML Code Here -->
  5. Save the file and done!
Mac OS NOTE: If attempting to edit the .tpl file on a Mac, be sure the "TextEdit" tool has formatting set to display HTML Code rather then formatted text. The setting is located at TextEdit->Preferences->Open and Save. On the "Open and Save" area, for the When Opening a File option, check the "Display HTML files as HTML code instead of formatted text".