Save $20 on your template using coupon: whmcsmarketplace during checkout

Save yourself the hassle and hire us to complete the update(s) for you! Order template update Order WHMCS upgrade

This update is for all of our PHP templates using the WHMCS sync that were purchased before the release of WHMCS V7. Those who purchased after don't need to follow this update as all templates have been updated by us.

In this tutorial you will learn how to update your PHP template to support the new WHMCS V7.


Download update filesThis only applies to our PHP templates if you're using the WHMCS sync integration.

1. Upload the files

1) Make a full backup of your WHMCS files for safety

2) Download the update files by clicking on the button to the right above

3) Extract the ZIP file to your desktop

4) Upload the contents of the upload directory to:

/whmcs_path/templates/your_active_template/

2. Edit the contact.tpl file

Open templates/your_template/contact.tpl and change:

to:

3. Edit the footer.tpl file

This edit is very important as WHMCS have made changes to some of the functions in the footer that are used throughout WHMCS such as the new csrfToken.

Open templates/your_template/footer.tpl and replace the equivalent code at the bottom (this code is generally from the bottom of the file to just below </footer> but it will vary slightly between templates) of the file with:

4. Set the includes directory

You need to open whmcs_path/configuration.php, you need to tell WHMCS where the includes directory of the PHP template is using the following code (add it before ?>):

You need to replace /home/username/public_html/php_template_path/includes/ with the full path to the includes directory of your PHP template.

5. Edit the include paths

The last step you need to do is adjust the include paths in the WHMCS sycn template. To do this open the following files:

/whmcs_path/templates/your_template/header.tpl
/whmcs_path/templates/your_template/footer.tpl

In these files you will find php_includes used to include parts of the PHP template, (e.g toolbar.php, header.php etc), you need to change all of the following lines:

to:

You must keep the remaining part of each line in tact.

For example one of the includes is:

It needs to be changed to:

COMPLETED


whmcs services

 

Leave a comment

Let us know what you think!

 
the best whmcs templates
premium html code - scripts
custom banner design service
 
 
Top