Bobcares

A smart way to do WHMCS theme customization

by | May 24, 2019

Customers always expect a seamless experience while using their control panel. And hosting providers compete with each other in ensuring user friendliness.

In billing solutions like WHMCS, theme customization greatly helps in achieving this.

Also, choosing a custom theme largely impacts the look and feel of the client area.

That’s why, at Bobcares, we often get requests from our customers to setup WHMCS theme customization as part of our Server Management Services.

Today, we’ll see how our Support Engineers set up them & fix the related issues.

 

Why we customize the theme in WHMCS?

Customizing theme plays an important role in business.

The main motto is to create a user-friendly area to manage the services & makes the product accessible in one click. Additionally, it helps to incorporate custom brand images related to your business.

To accomplish this, the WHMCS client area supports an easy way to set up a custom theme.

 

How we customize WHMCS theme

WHMCS theme provides an attractive & friendly interface for users.

Let’s see how our Support Engineers take the following steps to create a custom theme.

1. First, we log in to WHMCS site with proper credentials.

2. Then, we create a custom folder under (/modules/addons/appprovisionwhmcs/packages/mycustom).

3. Next, we import a copy the contents of the custom folders to your WHMCS site under (/modules/addons/appprovisionwhmcs/packages/[customwhmcspackage]/files/).

4. After that, we navigate to Setup > General Settings > General Tab & change the Template to Six theme.

5. Next, open your base page and copy from the top to the begin of content output to header.tpl file under the website’s root directory.

This includes the line of codes for meta charset, view cart button, navigation menus, phone number input style.

6. Then, copy from the end of the content output to the end of the page & copy to footer.tpl file.

7. At last, we save the changes to both template files.

Now the user can preview the new template, by accessing the URL https://www.yourdomain.com/pathtocustomtemplate.

 

Troubleshooting WHMCS custom theme

Even after customizing theme in WHMCS, we often see some errors.

Let’s take a closer look at what are the causes & how our Support Engineers fixed it.

 

1. Blank page

Recently one of our customers reported us after completing the WHMCS upgrade, he got a blank page that showed a fatal PHP error and stopped to continue the execution.

To solve this problem our Support Engineers took the following steps.

1. First, we logged in to WHMCS panel.

2. We checked the Activity log by navigating to Utilities > Logs > Activity Log.

3. By analyzing, we found that the problem was with the PHP module which was not specified in the template.

4. Then, we navigated to Setup > General Settings > Security & enabled it.

5. Finally, we saved the settings.

That fixed the problem & the user could no longer get a rendered page.

 

2. Problems in the client area

Likewise, if the admin area is loading correctly and only the client area is showing blank pages.

This indicates that the template folder is missing or the /templates_c folder have an invalid path set or due to wrong permission settings.

To get around this, we perform the following steps.

In such cases, we re-select template under Setup > General Settings and click Save Changes. This reloads the missing template folder.

Also, we ensure the templates_c folder has the appropriate permissions and ownership values so it’s writable by the script (usually we set chmod 755, but in some environments, chmod 777 may be required).

If the /templates_c directory has been moved to a custom location we ensure the path is correct in the configuration.php file. Your server admin/hosting provider will be able to confirm this.

[Having trouble with WHMCS theme customization? We’ll fix it for you.]

 

Conclusion

To be more precise, WHMCS supports theme customization to create a user-friendly client area. Today, we saw how our Support Engineers configured “WHMCS theme customization” & fixed the common errors.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

1 Comment

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF