<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://3.19.219.109/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=NickHudson</id>
		<title>WHMCS Documentation - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://3.19.219.109/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=NickHudson"/>
		<link rel="alternate" type="text/html" href="http://3.19.219.109/Special:Contributions/NickHudson"/>
		<updated>2026-04-03T23:17:10Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>http://3.19.219.109/index.php?title=Installing_WHMCS&amp;diff=22571</id>
		<title>Installing WHMCS</title>
		<link rel="alternate" type="text/html" href="http://3.19.219.109/index.php?title=Installing_WHMCS&amp;diff=22571"/>
				<updated>2017-04-24T13:09:33Z</updated>
		
		<summary type="html">&lt;p&gt;NickHudson: /* Creating a Database */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Downloading WHMCS==&lt;br /&gt;
&lt;br /&gt;
#Visit http://download.whmcs.com/&lt;br /&gt;
#Click the Download button under the Full Release heading - this will be the latest release version &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;docs-alert-info&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;title&amp;quot;&amp;gt;Reseller Customers&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
If your license key was obtained via a reseller and you therefore do not have a login for our members area, your reseller will be able to provide the latest WHMCS files to you''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Installing Ioncube==&lt;br /&gt;
&lt;br /&gt;
WHMCS is encrypted using Ioncube to protect the source code.  These days most servers/webhosts have Ioncube support compiled into the PHP build by default so you don't normally need to do anything extra for it.  However if you find you do need to install Ioncube on your server, then you can find out how to do this in our [[Ioncube Installation Tutorial]]&lt;br /&gt;
&lt;br /&gt;
==Creating a Database==&lt;br /&gt;
WHMCS uses a MySQL database to store all settings and data. You will be asked to create one during the installation process, so best to create one beforehand. Technical information is detailed on the [[Database Setup]] page.&lt;br /&gt;
&lt;br /&gt;
* [https://documentation.cpanel.net/display/1152Docs/MySQL+Database+Wizard Creating databases in cPanel]&lt;br /&gt;
* [https://docs.plesk.com/en-US/17.0/customer-guide/advanced-website-databases.69535/ Created databases in Plesk]&lt;br /&gt;
&lt;br /&gt;
==Restrict Database Privileges==&lt;br /&gt;
For day to day use, only the following database privileges are required. All others may be disabled.&lt;br /&gt;
&lt;br /&gt;
*DELETE&lt;br /&gt;
*INSERT&lt;br /&gt;
*SELECT&lt;br /&gt;
*UPDATE&lt;br /&gt;
*LOCK TABLES&lt;br /&gt;
&lt;br /&gt;
Please note that installation, upgrading, activating, and deactivating modules require the following additional privileges.&lt;br /&gt;
&lt;br /&gt;
*ALTER&lt;br /&gt;
*CREATE&lt;br /&gt;
*DROP&lt;br /&gt;
*INDEX&lt;br /&gt;
&lt;br /&gt;
==Installing WHMCS==&lt;br /&gt;
&lt;br /&gt;
[[File:Videotutorial.png‎|center|link=https://www.youtube.com/watch?v=LXT75u41Mqc&amp;amp;hd=1|Watch Video Tutorial]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Installing WHMCS is very simple.  The following steps will guide you through the process:&lt;br /&gt;
&lt;br /&gt;
#Unzip the contents of the zip file to a folder on your computer&lt;br /&gt;
#Rename the file configuration.php.new to configuration.php&lt;br /&gt;
#Upload the entire whmcs folder to your website - if you experience problems, try uploading in binary mode&lt;br /&gt;
#Next you can rename the folder to whatever you like (billing, clients, etc...)&lt;br /&gt;
#Now visit the installation script at http://www.yourdomain.com/whmcs/install/install.php to run the installer process - if you get an Ioncube related error message, see the installation Ioncube steps above&lt;br /&gt;
#Follow the instructions on screen to install which will involve setting file permissions as listed below, entering your license key and setting up your primary admin account&lt;br /&gt;
&amp;lt;div class=&amp;quot;docs-alert-warning&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;title&amp;quot;&amp;gt;Acceptable Password Characters&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
The following characters should not be used in an administrator password &amp;amp; &amp;quot; ' &amp;lt; &amp;gt; (ampersand, double quotes, single quotes, less than or greater than). Any other symbols such as # ! £ $ % ^ * ( ) . , / etc… are perfectly acceptable.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When complete, delete the install folder from your web server and CHMOD the configuration.php file back to 644.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;docs-alert-warning&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;title&amp;quot;&amp;gt;Required file &amp;amp; folders permissions&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
/configuration.php          CHMOD 400 Readable&amp;lt;br /&amp;gt;&lt;br /&gt;
/attachments                CHMOD 777 Writeable&amp;lt;br /&amp;gt;&lt;br /&gt;
/downloads                  CHMOD 777 Writeable&amp;lt;br /&amp;gt;&lt;br /&gt;
/templates_c                CHMOD 777 Writeable&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
The above applies unless your php is suPHP or PHPSuExec. If using DSO as your php handler, you must use 644 permissions.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Post Installation Suggested Steps==&lt;br /&gt;
&lt;br /&gt;
After installation is completed, we recommend that you go through and configure your new WHMCS system in the following order:&lt;br /&gt;
&lt;br /&gt;
#Perform the recommended [[Further Security Steps]]&lt;br /&gt;
#Login to the Admin Area and configure your General Settings (Setup &amp;gt; [[Configuration|General Settings]])&lt;br /&gt;
#Setup your Payment Gateways (Setup  &amp;gt; [[Payment Gateways]])&lt;br /&gt;
#Setup your Products &amp;amp; Services (Setup  &amp;gt; [[Products and Services]])&lt;br /&gt;
#Configure your Domain Pricing (Setup  &amp;gt; [[Domains_Configuration|Domain Pricing]])&lt;br /&gt;
#Setup your Support Ticket Departments (Setup  &amp;gt; [[Support_Center|Support Departments]])&lt;br /&gt;
#Setup email piping so you can manage tickets using the WHMCS Support Desk - for full instructions on this please see the [[Email Piping]] article&lt;br /&gt;
#Ensure the WHMCS Cron Job is setup and configure automated tasks (Setup  &amp;gt; [[Automation Settings]])&lt;br /&gt;
#Place some test orders on your website to check everything works as expected&lt;br /&gt;
&lt;br /&gt;
[[File:Videotutorial.png‎|center|link=https://www.whmcs.com/get-support/video-tutorials/|Watch Video Tutorial]]&lt;br /&gt;
&lt;br /&gt;
For further guidance, you can watch video tutorials we have prepared for the above tasks @ [https://www.whmcs.com/get-support/video-tutorials/ www.whmcs.com/get-support/video-tutorials/]&lt;/div&gt;</summary>
		<author><name>NickHudson</name></author>	</entry>

	<entry>
		<id>http://3.19.219.109/index.php?title=Updating&amp;diff=22506</id>
		<title>Updating</title>
		<link rel="alternate" type="text/html" href="http://3.19.219.109/index.php?title=Updating&amp;diff=22506"/>
				<updated>2017-04-18T15:00:51Z</updated>
		
		<summary type="html">&lt;p&gt;NickHudson: /* We're here to help */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We always recommend staying up-to-date with WHMCS in order to benefit from the latest development and improvements, and you can do that either by [https://www.whmcs.com/services/upgrade-service/ having us perform the update for you] or by updating as per the steps below.&lt;br /&gt;
&lt;br /&gt;
==Automatic Updating==&lt;br /&gt;
&lt;br /&gt;
If you are running WHMCS 7.0 or later, you can use the built-in Automatic Update utility.&lt;br /&gt;
&lt;br /&gt;
Simply navigate to '''Utilities &amp;gt; Update WHMCS''' to begin the process.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;docs-alert-info&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-info-circle fa-fw&amp;quot;&amp;gt;&amp;lt;/i&amp;gt;&amp;amp;nbsp; If the update was released recently, you may need to click the Check for Updates button before the update will show as available.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For more information about the Automatic Updater and troubleshooting please refer to http://docs.whmcs.com/Automatic_Updater&lt;br /&gt;
&lt;br /&gt;
==Performing a Manual update==&lt;br /&gt;
&lt;br /&gt;
[[File:Videotutorial.png|center|link=http://www.youtube.com/watch?v=wXZpPjPxvfY&amp;amp;hd=1|Watch Video Tutorial]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To update WHMCS manually, follow the steps below.  Some updates may require steps in addition to the standard update steps provided below.  Should these be required you will find them in the [[Release Notes]].  Please always refer to the release notes for a version before attempting any update.&lt;br /&gt;
&lt;br /&gt;
A '''Full Release''' distribution contains all the files of a WHMCS product installation. It can be used to perform a new install or update an existing installation (regardless of previous version).&lt;br /&gt;
&lt;br /&gt;
'''Patch Sets''' contain only the files that have changed between the immediate, previous version and the latest version, (ie. a patch set for version 1.1.2 is valid for a 1.1.1 installation and nothing else). We provide these to make updating both quicker and easier for those of our customers who stay current and up-to-date with the latest WHMCS releases. By including only the changed files, patch sets have less files to upload which makes the update process quicker and simpler for you to perform.&lt;br /&gt;
&lt;br /&gt;
More information on our release types and distribution types can be found on our [[Releases]] page.&lt;br /&gt;
&lt;br /&gt;
==Update Steps==&lt;br /&gt;
&lt;br /&gt;
===For a Full Release Version===&lt;br /&gt;
&lt;br /&gt;
A full release version is denoted by the presence of _full within the zip folder filename and &amp;quot;Distro Type: Full Version&amp;quot; within the included README.txt file.  If the zip file you have instead contains _patch, please refer to the below [[Updating#For_a_Patch_Set|Patch Set update Steps]] instead.&lt;br /&gt;
&lt;br /&gt;
'''Make a Full Backup - We cannot stress enough how important it is to *always* take a full backup before attempting any kind of update. Both for WHMCS and any other software you use.  A full backup should be taken of both the WHMCS files and the database.'''&lt;br /&gt;
&lt;br /&gt;
#Begin by making sure your server meets the [[System_Requirements|system requirements]],&lt;br /&gt;
#Obtain the latest full release download of WHMCS either from http://download.whmcs.com/ or from your license provider (if using a reseller)&lt;br /&gt;
#Unzip the contents of the WHMCS zip file download to a folder on your computer&amp;lt;div class=&amp;quot;docs-alert-danger&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;title&amp;quot;&amp;gt;Custom Admin Directory?&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;If you have renamed your &amp;quot;admin&amp;quot; directory, be sure to rename the /whmcs/admin directory in the new files to match. &amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;docs-alert-warning&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;title&amp;quot;&amp;gt;Custom Cron Directory?&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;Similarly, if you have customised the location of the /crons/ directory, be sure to upload that to the custom location.&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;docs-alert-success&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;title&amp;quot;&amp;gt;Custom File Permissions?&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;If you have customised the permissions on any of the files eg. /crons/pipe.php. These changes will need to be re-applied once the update is complete.&amp;lt;/div&amp;gt;&lt;br /&gt;
#Upload the new files to your existing installation folder replacing any existing folders &amp;amp; files&lt;br /&gt;
#Visit your WHMCS installation and you should then be automatically redirected to the update process. If you see a message saying WHMCS is not installed, this indicates you have overwritten the configuration.php file for your installation.  Stop and restore that file from your backup before continuing.&lt;br /&gt;
#Agree to the WHMCS End User License Agreement and follow the steps on screen to update your database.&lt;br /&gt;
#When prompted, delete the install folder from your server.&lt;br /&gt;
#Your update is now complete.&lt;br /&gt;
&lt;br /&gt;
We recommend now that you check the release notes for the version you just installed [[Release_Notes|here]].  And if you have custom template files you will also need to review and make any necessary changes to your custom templates using the information provided in the Template Changes section of the [[Release_Notes|Release Notes]].&lt;br /&gt;
&lt;br /&gt;
===For a Patch Set===&lt;br /&gt;
&lt;br /&gt;
A patch set version is denoted by the presence of _patch within the zip folder filename and &amp;quot;Distro Type: Patch Set&amp;quot; within the included README.txt file.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT:''' Before you begin please ensure you are running the version required by the patch. Patch Sets contain only the files that have changed between the previous release and the Patch Set Version. Therefore they should only be applied if you are running the immediately previous version.&lt;br /&gt;
&lt;br /&gt;
The previous release version that these patch sets are designed for is clearly indicated as the first and smaller number in release notices providing the patch set download link.&lt;br /&gt;
&lt;br /&gt;
#Download the patch set from http://download.whmcs.com/&lt;br /&gt;
#Unzip the patch set files&amp;lt;div class=&amp;quot;docs-alert-danger&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;title&amp;quot;&amp;gt;Custom Admin Directory?&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;For patches that have updates for the “admin” directory: If you have renamed your &amp;quot;admin&amp;quot; directory, then make sure you rename the /whmcs/admin directory to match&amp;lt;/div&amp;gt;&lt;br /&gt;
#Upload the files from the /whmcs/ directory to the root directory of your WHMCS installation&lt;br /&gt;
#Visit the admin area of your WHMCS installation to trigger the version number bump and complete the process &lt;br /&gt;
&lt;br /&gt;
No install or update process is required.&lt;br /&gt;
&lt;br /&gt;
==Confirming a Successful Update==&lt;br /&gt;
&lt;br /&gt;
To confirm an update has been successfully applied, login to your WHMCS admin area and check to make sure that the Version Number displayed either on the admin homepage (in the sidebar of all default templates) or in '''Help &amp;gt; System Health Status''' is the version you attempted to apply. If it has not incremented, then one or more of the files has not uploaded successfully. You should double check file permissions and attempt the steps again from the beginning.&lt;br /&gt;
&lt;br /&gt;
==Helpful Hints==&lt;br /&gt;
&lt;br /&gt;
'''Database Privileges'''&lt;br /&gt;
 &lt;br /&gt;
Updating requires that the database user have access to the following privileges:&lt;br /&gt;
 &lt;br /&gt;
*ALTER&lt;br /&gt;
*CREATE&lt;br /&gt;
*DROP&lt;br /&gt;
*INDEX&lt;br /&gt;
 &lt;br /&gt;
Additionally, you will want to ensure that the database user have access to all privileges listed on the [[Further_Security_Steps#Restrict_Database_Privileges|Further Security Steps]] page.&lt;br /&gt;
&lt;br /&gt;
'''Customisations'''&lt;br /&gt;
&lt;br /&gt;
If you have customised templates, please ensure you always follow the recommended method for [[Client_Area_Template_Files#Creating_a_Custom_Template|creating a custom template folder]] to ensure your changes aren't overwritten during updates.  Similarly for language file customisations please ensure you use the [[Language Overrides]] feature vs editing the language files directly.&lt;br /&gt;
&lt;br /&gt;
'''Bad Formatting'''&lt;br /&gt;
&lt;br /&gt;
If when you first login you see a display where formatting is mixed or unclear, this can indicate your browser cache has not updated.  Try clearing your browser cache or performing a hard refresh (typically Ctrl + F5) and delete the contents of the template cache directory (''templates_c'' by default) to ensure you see the new templates and styling.&lt;br /&gt;
&lt;br /&gt;
'''What to do if you get a Down for Maintenance or update in Progress message after uploading a patch set'''&lt;br /&gt;
&lt;br /&gt;
If after uploading the files from a Patch Set you see a &amp;quot;Down for Maintenance&amp;quot; or &amp;quot;update in progress...&amp;quot; warning message then this indicates that the patch set files you attempted to apply are not compatible with the version of WHMCS you were previously running.  To complete the update you will need to download the latest [[Updating#For_a_Full_Release_Version|Full Release]] version and update using the regular update process as described above.&lt;br /&gt;
&lt;br /&gt;
==We're here to help==&lt;br /&gt;
&lt;br /&gt;
We offer a professional update service where our staff will update your WHMCS installation for you. Please refer to https://www.whmcs.com/services/upgrade-service/ for more information and to order.&lt;br /&gt;
&lt;br /&gt;
And of course our support team is always available to answer any questions or concerns you might have when performing the update process yourself.  Simply open a ticket @ http://www.whmcs.com/get-support/ and a member of our team will get back to you..&lt;/div&gt;</summary>
		<author><name>NickHudson</name></author>	</entry>

	<entry>
		<id>http://3.19.219.109/index.php?title=Client_Area_Template_Files&amp;diff=21566</id>
		<title>Client Area Template Files</title>
		<link rel="alternate" type="text/html" href="http://3.19.219.109/index.php?title=Client_Area_Template_Files&amp;diff=21566"/>
				<updated>2016-12-19T12:28:47Z</updated>
		
		<summary type="html">&lt;p&gt;NickHudson: /* Intro */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Intro=&lt;br /&gt;
WHMCS always endeavours to make the system as customisable as possible so that users can always tailor it to their exact needs. With that in mind, all pages of the WHMCS client area use templates. This allows a user to add/remove and change the look and feel of everything.  In WHMCS, use of the powerful [[Template Syntax|Smarty template system]] allows you to:&lt;br /&gt;
&lt;br /&gt;
*Customise the layout and content of the client area fully.&lt;br /&gt;
*Make use of file includes for common elements shared between pages.&lt;br /&gt;
*Make use of many other powerful features Smarty has to offer.&lt;br /&gt;
&lt;br /&gt;
Most pages use three templates that combine to make up the output. These combine in this order:&lt;br /&gt;
&lt;br /&gt;
#'''Header Template (header.tpl)'''&lt;br /&gt;
#'''Main Content Template (homepage.tpl, clientareahome.tpl, etc...)'''&lt;br /&gt;
#'''Footer Template (footer.tpl)'''&lt;br /&gt;
&lt;br /&gt;
The header and footer are common to every page displayed as a wrapper around the content. Within the template folders you will see many other template files. These take the place of 'The Page Template' above. These templates define the output on each page. The templates are also named so that you can identify which relates to which page. For example, the template that defines the WHMCS homepage at (yoursite.com/whmcs/) is homepage.tpl. The main client area page is clientareahome.tpl and so on.&lt;br /&gt;
&lt;br /&gt;
'''Before starting''', please refer to the '''[[Template Syntax]]''' section of the docs. This provides information on how to work with the templates in WHMCS.&lt;br /&gt;
&lt;br /&gt;
==Creating a Custom Template==&lt;br /&gt;
 &lt;br /&gt;
When customising any WHMCS templates, the first step is to create another template folder. The default templates should never be edited directly. To do this, perform the following steps:&lt;br /&gt;
 &lt;br /&gt;
#Duplicate one of the standard folders in the templates folder (six, five) and rename it to a custom name.&lt;br /&gt;
#The directory name should be all one word and consist of just lowercase letters and numbers.&lt;br /&gt;
#Now make your customisations and changes as desired. See section below for more details on this.&lt;br /&gt;
#Once complete, upload the new templates folder to the templates directory of WHMCS.&lt;br /&gt;
#Preview the new template by specifying it using an URL &amp;quot;on the fly&amp;quot;. For example, www.yourdomain.com/whmcs/?systpl=xxxxx where xxxxx is the name of the new template. See [[Linking to WHMCS]] for more information.&lt;br /&gt;
#Once happy with it, set it live by going to '''Setup &amp;gt; General Settings'''. On the first tab, choose the new custom template name from the Template's dropdown menu.&lt;br /&gt;
 &lt;br /&gt;
The template selected here will be referred to throughout the documentation as the active template folder. Likewise, the order form template selected in Setup &amp;gt; General Settings &amp;gt; Ordering.&lt;br /&gt;
&lt;br /&gt;
==Customising to Match Your Website==&lt;br /&gt;
&lt;br /&gt;
What most people want to do with customisation is integrate WHMCS to match the rest of their website. This can be a daunting task but it is fairly straightforward. Following on from the above, begin by copying the HTML which controls the top of your website design. Paste this into the header.tpl file of your custom template folder.  Make sure to preserve the &amp;lt;head&amp;gt; section of code in the default WHMCS template. This contains the necessary CSS, Javascript Code &amp;amp; File Includes for WHMCS to function. Then copy and paste the footer code from your website design into footer.tpl.&lt;br /&gt;
&lt;br /&gt;
[[File:Videotutorial.png‎|center|link=https://www.youtube.com/watch?v=9VkbPoVTHYg&amp;amp;hd=1|Watch Video Tutorial]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Customising how payment gateways are displayed===&lt;br /&gt;
There may be occasion where it's desirable to customise the way payment gateways display. For example, you may wish to add formatting, display images such as card logos, or any other code of your own.&lt;br /&gt;
&lt;br /&gt;
Due to security considerations, it isn't possible to enter HTML into the display name or payment instruction fields. Instead, you can customise the relevant template to display your desired code.&lt;br /&gt;
&lt;br /&gt;
For example, to display credit card logos when the PayPal is the payment method on the printable invoice, use the following code. This will be in /templates/*your active template*/'''viewinvoice.tpl''':&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
{if $paymentmodule eq 'paypal'}&lt;br /&gt;
&amp;lt;img src=&amp;quot;/images/creditcardlogos.png&amp;quot;&amp;gt;&lt;br /&gt;
{/if}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The image tag could be replaced with any code you wanted to display there. Replace 'paypal' with the name of your payment module. The exact value can be obtained from the tblpaymentgateways table.&lt;br /&gt;
&lt;br /&gt;
==Customising the Six theme==&lt;br /&gt;
 &lt;br /&gt;
Six is the name of the default client area template that ships with WHMCS 6.0 and later. With this template we have introduced a number of new resources that you can use to further customise your WHMCS installation. Two of these new features are briefly addressed below and detailed information on how to customise the Six theme can be found in the [[Customising the Six Theme]] documentation.&lt;br /&gt;
 &lt;br /&gt;
===Navigation and Sidebar Customisation===&lt;br /&gt;
 &lt;br /&gt;
In the Six theme the look and feel of the navigation bar and sidebar elements can customised via the header.tpl and sidebar.tpl (located in /includes/) template files.&lt;br /&gt;
 &lt;br /&gt;
To make changes to the layout of the menus (i.e. adding, removing, and modifying items) please refer to the [[Editing Client Area Menus|Editing Client Area Menus]] documentation.&lt;br /&gt;
&lt;br /&gt;
===Using GitHub===&lt;br /&gt;
 &lt;br /&gt;
The Six theme is made available via GitHub and provides version-by-version changes of the “Six” template as published in WHMCS. The WHMCS &amp;quot;Six&amp;quot; template repository can be found at [[https://github.com/WHMCS/templates-six]].&lt;/div&gt;</summary>
		<author><name>NickHudson</name></author>	</entry>

	<entry>
		<id>http://3.19.219.109/index.php?title=Client_Area_Template_Files&amp;diff=21562</id>
		<title>Client Area Template Files</title>
		<link rel="alternate" type="text/html" href="http://3.19.219.109/index.php?title=Client_Area_Template_Files&amp;diff=21562"/>
				<updated>2016-12-19T12:28:27Z</updated>
		
		<summary type="html">&lt;p&gt;NickHudson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Intro=&lt;br /&gt;
WHMCS2 always endeavours to make the system as customisable as possible so that users can always tailor it to their exact needs. With that in mind, all pages of the WHMCS client area use templates. This allows a user to add/remove and change the look and feel of everything.  In WHMCS, use of the powerful [[Template Syntax|Smarty template system]] allows you to:&lt;br /&gt;
&lt;br /&gt;
*Customise the layout and content of the client area fully.&lt;br /&gt;
*Make use of file includes for common elements shared between pages.&lt;br /&gt;
*Make use of many other powerful features Smarty has to offer.&lt;br /&gt;
&lt;br /&gt;
Most pages use three templates that combine to make up the output. These combine in this order:&lt;br /&gt;
&lt;br /&gt;
#'''Header Template (header.tpl)'''&lt;br /&gt;
#'''Main Content Template (homepage.tpl, clientareahome.tpl, etc...)'''&lt;br /&gt;
#'''Footer Template (footer.tpl)'''&lt;br /&gt;
&lt;br /&gt;
The header and footer are common to every page displayed as a wrapper around the content. Within the template folders you will see many other template files. These take the place of 'The Page Template' above. These templates define the output on each page. The templates are also named so that you can identify which relates to which page. For example, the template that defines the WHMCS homepage at (yoursite.com/whmcs/) is homepage.tpl. The main client area page is clientareahome.tpl and so on.&lt;br /&gt;
&lt;br /&gt;
'''Before starting''', please refer to the '''[[Template Syntax]]''' section of the docs. This provides information on how to work with the templates in WHMCS.&lt;br /&gt;
&lt;br /&gt;
==Creating a Custom Template==&lt;br /&gt;
 &lt;br /&gt;
When customising any WHMCS templates, the first step is to create another template folder. The default templates should never be edited directly. To do this, perform the following steps:&lt;br /&gt;
 &lt;br /&gt;
#Duplicate one of the standard folders in the templates folder (six, five) and rename it to a custom name.&lt;br /&gt;
#The directory name should be all one word and consist of just lowercase letters and numbers.&lt;br /&gt;
#Now make your customisations and changes as desired. See section below for more details on this.&lt;br /&gt;
#Once complete, upload the new templates folder to the templates directory of WHMCS.&lt;br /&gt;
#Preview the new template by specifying it using an URL &amp;quot;on the fly&amp;quot;. For example, www.yourdomain.com/whmcs/?systpl=xxxxx where xxxxx is the name of the new template. See [[Linking to WHMCS]] for more information.&lt;br /&gt;
#Once happy with it, set it live by going to '''Setup &amp;gt; General Settings'''. On the first tab, choose the new custom template name from the Template's dropdown menu.&lt;br /&gt;
 &lt;br /&gt;
The template selected here will be referred to throughout the documentation as the active template folder. Likewise, the order form template selected in Setup &amp;gt; General Settings &amp;gt; Ordering.&lt;br /&gt;
&lt;br /&gt;
==Customising to Match Your Website==&lt;br /&gt;
&lt;br /&gt;
What most people want to do with customisation is integrate WHMCS to match the rest of their website. This can be a daunting task but it is fairly straightforward. Following on from the above, begin by copying the HTML which controls the top of your website design. Paste this into the header.tpl file of your custom template folder.  Make sure to preserve the &amp;lt;head&amp;gt; section of code in the default WHMCS template. This contains the necessary CSS, Javascript Code &amp;amp; File Includes for WHMCS to function. Then copy and paste the footer code from your website design into footer.tpl.&lt;br /&gt;
&lt;br /&gt;
[[File:Videotutorial.png‎|center|link=https://www.youtube.com/watch?v=9VkbPoVTHYg&amp;amp;hd=1|Watch Video Tutorial]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Customising how payment gateways are displayed===&lt;br /&gt;
There may be occasion where it's desirable to customise the way payment gateways display. For example, you may wish to add formatting, display images such as card logos, or any other code of your own.&lt;br /&gt;
&lt;br /&gt;
Due to security considerations, it isn't possible to enter HTML into the display name or payment instruction fields. Instead, you can customise the relevant template to display your desired code.&lt;br /&gt;
&lt;br /&gt;
For example, to display credit card logos when the PayPal is the payment method on the printable invoice, use the following code. This will be in /templates/*your active template*/'''viewinvoice.tpl''':&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
{if $paymentmodule eq 'paypal'}&lt;br /&gt;
&amp;lt;img src=&amp;quot;/images/creditcardlogos.png&amp;quot;&amp;gt;&lt;br /&gt;
{/if}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The image tag could be replaced with any code you wanted to display there. Replace 'paypal' with the name of your payment module. The exact value can be obtained from the tblpaymentgateways table.&lt;br /&gt;
&lt;br /&gt;
==Customising the Six theme==&lt;br /&gt;
 &lt;br /&gt;
Six is the name of the default client area template that ships with WHMCS 6.0 and later. With this template we have introduced a number of new resources that you can use to further customise your WHMCS installation. Two of these new features are briefly addressed below and detailed information on how to customise the Six theme can be found in the [[Customising the Six Theme]] documentation.&lt;br /&gt;
 &lt;br /&gt;
===Navigation and Sidebar Customisation===&lt;br /&gt;
 &lt;br /&gt;
In the Six theme the look and feel of the navigation bar and sidebar elements can customised via the header.tpl and sidebar.tpl (located in /includes/) template files.&lt;br /&gt;
 &lt;br /&gt;
To make changes to the layout of the menus (i.e. adding, removing, and modifying items) please refer to the [[Editing Client Area Menus|Editing Client Area Menus]] documentation.&lt;br /&gt;
&lt;br /&gt;
===Using GitHub===&lt;br /&gt;
 &lt;br /&gt;
The Six theme is made available via GitHub and provides version-by-version changes of the “Six” template as published in WHMCS. The WHMCS &amp;quot;Six&amp;quot; template repository can be found at [[https://github.com/WHMCS/templates-six]].&lt;/div&gt;</summary>
		<author><name>NickHudson</name></author>	</entry>

	</feed>