Twenty-X WHMCS Client Area Template

From WHMCS Global Services Module Documentation
Jump to: navigation, search

How to download TwentyX Theme?

Whmcs license key will be provided by WHMCS and the TwentyX code will be available in our login portal

Step 1 - Login to our portal with your registered email id

20x-1.png


Step 2 - Go to my product and services

20x-2.png

Step 3 - You will see your active service

20x-13.png

How to install TwentyX template?

Step 1 - Log in to your client area https://whmcsglobalservices.com/members/clientarea.php and download TwentyX Template.

Step 2 - Extract zip folder.

Step 3 - Upload twenty-x folder to WHMCS (whmcs_root/templates/)

How to Activate TwentyX Theme?

Step 1 - Go to WHMCS Admin > Settings > System Settings

Screenshot (10)-hostx.png

Step 2 - Click on General Settings

20x-11.png

Step 3 - Click on the General tab, go to System Theme section and select TwentyX. Save Changes

20x-12.png

How to Set up Language Variables in TwentyX Theme?

If you wish to customize the languages for your WHMCS Module. Follow this guide through. We have used the default WHMCS language variable in our one-step checkout order form.

Step 1 - Check for overrides directory in your (public_html/lang) root directory using your FTP client.

Language1.png


Step 2 - If you already have overrides directory then skip next step otherwise keep following.

Step 3 - Now, create the overrides directory in the lang directory using your FTP client.

Step 4 - Next, create a file 'english.php' in the overrides directory.

Language2.png


Step 5 - Write the following code in english.php file.

<?PHP

if (!defined("WHMCS")) die("This file cannot be accessed directly");

$_LANG['locale'] = "en_GB";

Language3.png

Step 6 - Add the following code in english.php file below the above-given code.

$_LANG['homeMainHeading20i'] = "Blazing Fast Hosting for Your Business";

$_LANG['homeSubHeading20i'] = "Hosting for your business Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut laboreing.";

$_LANG['homeListing20i'] = "<li><span><i class='fa fa-check'></i></span>Hosting for your busines</li><li><span><i class='fa fa-check'></i></span> 24/7 Support for your busines</li>";

$_LANG['homeStartButton20i'] = "Get Started Now";

How to change or upload Home Page Banner Image?

Step 1 - Connect your FTP or cPanel

Step 2 - Go to whmcstemplates/twenty-x/images/ and you will get the banner image link "templates/twenty-x/images/20i-banner-img.svg"

Step 3 - Now whether replace "20i-banner-img.svg" file with some other file or upload the new image with the same name

How to change Banner Image Text or display in other language?

Step 1 - Check for Overrides directory in your (public_html/lang) root directory using your FTP client

Note: If you already have other language file within your overrides directory, then skip upcoming steps and jump to Step- 5, otherwise keep following.

Step 2 - Now, create the overrides directory in the lang directory using your FTP client.

Step 3 - Next, create a file 'english.php' in the Overrides directory

Step 4 - Write the following code in english.php file.

<?PHP

if (!defined("WHMCS")) die("This file cannot be accessed directly");

$_LANG['locale'] = "en_GB";

Step 5 - Add the following code in english.php file below and enter the desired text in right side under “” sign.

$_LANG['homeMainHeading20i'] = "Blazing Fast Hosting for Your Business";

$_LANG['homeSubHeading20i'] = "Hosting for your business Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut laboreing.";

$_LANG['homeListing20i'] = "<li><span><i class='fa fa-check'></i></span> Hosting for your busines </li><li><span><i class='fa fa-check'></i></span> 24/7 Support for your busines </li>";

$_LANG['homeStartButton20i'] = "Get Started Now";


Note: If you want to display the content in any other language than english, then enter the converted text in right side under “” sign.

Why can’t I see any content on home page?

In case if haven’t updated the language variable or changed page content as per the selected language variable, no content will be displayed on the home page. Hence, set up your language variable:

Step 1 - Check for overrides directory in your (public_html/lang) root directory using your FTP client

Note: If you already have english.php file within your overrides directory, then skip upcoming steps and jump to Step- 5, otherwise keep following.

Step 2 - Now, create the overrides directory in the lang directory using your FTP client.

Step 3 - Next, create a file 'english.php' in the Overrides directory.

Step 4 - Write the following code in english.php file.

<?php

if (!defined("WHMCS")) die("This file cannot be accessed directly");

$_LANG['locale'] = "en_GB";


Step 5 - Add the following code in english.php file below the above-given code.

$_LANG['homeMainHeading20i'] = "Blazing Fast Hosting for Your Business";

$_LANG['homeSubHeading20i'] = "Hosting for your business Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut laboreing.";

$_LANG['homeListing20i'] = "<li><span><i class='fa fa-check'></i></span> Hosting for your busines </li><li><span><i class='fa fa-check'></i></span> 24/7 Support for your busines </li>";

$_LANG['homeStartButton20i'] = "Get Started Now";