Welcome to the WHMCS “Six” template repository! This repository is dedicated to providing version-by-version changes of the “Six” template as published in WHMCS. Sharing these changes through GitHub as a read-only repository enables you to quick inspect and import these changes for your custom theme.
This theme is compatible with WHMCS 6.0 and later.
You can utilise this repository to see the individual changes to this theme as distributed in WHMCS.
You can also use it to build your template in a way that can be controlled using Version Control, with the ability to pull in and auto-merge future changes.
You may fork this repository as described in the GitHub Guide: Forking Projects or GitHub Bootcamp: Forking a Repo articles.
The below is an example of how you might check this repository out locally into a custom folder and create a branch for building and tracking the changes for your custom theme:
# Navigate to your WHMCS templates directory
cd ~/whmcs/templates/
# Clone the Six template theme repo into your new template directory
git clone [email protected]:WHMCS/templates-six.git my-template-name
# Change directory to the template directory
cd my-template-name
# Create a custom branch to make and commit your customisations into
git checkout -b my-template-name
When an update of WHMCS is published, the template changes will be propagated to this repository. You can then pull those changes into your custom template branch as follows:
# Navigate to the template directory
cd ~/whmcs/templates/my-template-name
# Fetch the latest updates from the Six template theme repo
git fetch origin
# Ensure your custom template branch is checked out
git checkout my-template-name
# Merge changes from origin/master into your custom branch
git merge origin/master
A distinct tag is created for each published version of WHMCS. You can easily view any span of changes you like using the Github Comparison View. Simply, select a pair of version tags in that interface!