Knowledgebase

How to upgrade HostX to Latest WHMCS 7.8 - 7.8.3?

NOTE: TAKE A COMPLETE BACKUP BEFORE PROCEEDING WITH THE UPGRADE

To upgrade HostX to latest WHMCS 7.8 Versions, you only need to install this patch on your server. 

 

In case of Custom Color Schemes Follow These Steps:

You do not need to worry about that, as upgrading this patch will not cause any issue. 

 

In the case of Custom Contents added, Follow These Steps:

You do not need to worry about that, as upgrading this patch will not cause change any language file.

 

In case of Custom Header and Footer

For the header, there is nothing to worry as header do not have any changes. For footer, we have some changes in the default file. 

So if you have a custom footer, then you need to follow the below-mentioned procedure: 

In the footer.tpl -> You Need to add generate password file “{include file="$template/includes/generate-password.tpl"}” before this variable {$footeroutput}

 

In the case of Custom Images or Logos:

In case you are using custom Images and Logos on your client area or in invoices, there is no need to do anything as this upgrade do not replace your images folder at all. 

 

Users with WHMCS 7.8, Follow this upgrade procedure: 

Step 1: Overwrite the JS Libraries as mentioned below: 

Go to This Path: \whmcs\templates\hostx\js

Overwrite these js files: 

  1. >> scripts.js
  2. >> scripts.min.js
  3. >> twitter.js
  4. >> whmcs.js

Step 2: Overwrite the CSS Files as mentioned below: 

Go to This Path: \whmcs\templates\hostx\css

  1. >> all.min.css
  2. >> all.css
  3. >> blue.png
  4. >> blue@2x.png

Simply overwrite the above CSS files and image files with the new ones in the patch file.

For custom.css

>> custom.css  -> Simply overwrite the file if you do not have any customizations. 

In case you have customizations or not sure you have done customizations or not, please follow these steps: 

> Open patch file and go to this path \whmcs\templates\hostx\css

> Open custom.css file in the editor

> CTRL Find this text /*** whmcsv7.8x compatibilty classes ***/

Copy the code below this text and place it in your custom.css file in the end (PLEASE NOTE: YOU DO NOT NEED TO REPLACE THE CODE IN THE custom.css, you just need to add a new one as mentioned above.)

 

Step 3: Open header.tpl 

Go to This Path: \whmcs\templates\hostx\

Find this variable ($templatefile == 'pwreset')in header.tpl file and replace it with this variable ($templatefile == 'password-reset-container').

 

Step 4: Replace the following template files as these are WHMCS Default Files if you have already customized them then you need to copy the custom code from the previous files and add them in the new patch files in the same place.

Go to This Path: \whmcs\templates\hostx\

>> account-paymentmethods.tpl

>> account-paymentmethods-billing-contacts.tpl

>> account-paymentmethods-manage.tpl

>> generate-password.tpl - Path-> \whmcs\templates\hostx\includes

 >> password-reset-change-prompt.tpl

>> password-reset-container.tpl

>> password-reset-email-prompt.tpl

>> password-reset-security-prompt.tpl

>> clientareachangepw.tpl 

>> clientareaaddcontact.tpl

>> clientareacontacts.tpl

>> clientareacreditcard.tpl

>> clientareadomaindetails.tpl

>> clientareainvoices.tpl

>> clientareaproductdetails.tpl

>> clientareaquotes.tpl

>> clientareasecurity.tpl 

>> clientregister.tpl 

>> invoicepdf.tpl

>> login.tpl -  Path -> \whmcs\templates\hostx\oauth

>> pwreset.tpl 

>> masspay.tpl

>> creditcard.tpl 

>> Viewannouncement.tpl

>> viewinvoice.tpl

>> viewticket.tpl

 

Step 5: Store Pages That has been changed Go to : \whmcs\templates\hostx\store

 

Replace the complete SSL Folder with the new patch SSL files. Path -> \whmcs\templates\hostx\store\ssl Replace the complete CSS Folder with the new patch CSS files. In case you have added any customizations in the store_custom.css file, you just need to copy the marked code in the screenshot below and add it the last of your current store_custom.css file

 

 

 

 

Orderform Changes

 

Go to Path: \whmcs\templates\orderforms\hostx\js

 

 

Step 1: Overwrite checkout.tpl file

 

Overwrite the checkout.tpl file at \whmcs\templates\orderforms\hostx\

 

 

Step 2: Overwrite the JS Libraries as mentioned below:

 

  1. >> scripts.min.js
  2. >> scripts.js
  3. >> base.js

Replace the index.php file at \whmcs\templates\orderforms\hostx\js

 

 

Step 3: Overwrite the CSS files as mentioned below:

 

  1. >> all.css
  2. >> all.min.css
  3. >> style.css
  4. >> blue.png
  5. >> blue@2x.png

If you have done any custom changes than they should be in the custom.css file, so you need to follow this step for it: 

In case you have customizations or not sure you have done customizations or not, please follow these steps: 

> Open patch file and go to this path \whmcs\templates\orderforms\hostx\js

> Open custom.css file in the editor

> CTRL Find "/*** whmcsV7.8.X Classes added ****/"

Copy the code from below this text and paste in your current custom.css file in the last.

 

 

----------------------------- End Of Document ----------------------------------

  • whmcs, whmcs theme, tem, whmcs 7.8 update theme, whmcs template, whmcs 7.8, WHMCS, whmcs hostx, whmcs header
  • 0 Users Found This Useful
Was this answer helpful?
Related Articles
Copyright © 2021 Whmcs Global Services. All Rights Reserved.