# Client Area Designer For WHMCS

# (opens new window) About Client Area Designer For WHMCS (opens new window)

Client Area Designer For WHMCS will allow you to tailor the view of your entire WHMCS client area.

The module will let you alter the order and visibility of displayed elements, adjust existing widgets and add new ones, or even create customizable slideshows.
Additionally, you may set up restrictions rules to show the particular components to selected clients only.

  • Module Features

    • Customize Your Client Area By Modifying:
      • Navbar Elements
      • Sidebar Elements
      • Homepage Widgets
    • Add Your Own Elements And Widgets
    • Scan Your Client Area In Search Of Custom Elements And Widgets
    • View And Modify List Of Known Locations In Your Client Area
  • Navbar Element Features

    • Define Name
    • Define URI
    • Define Icon
    • Toggle Elements Display
    • Define Visibility For:
      • Logged In Clients
      • Non-Logged In Clients
      • All Clients
    • Define Display Rules:
      • Client Owns Domain
      • Client Owns Product
      • Client Is In Location
    • Additional Conditions:
      • Active Products/Domains/Addons
      • Inactive Products/Domains/Addons
      • Minimum And Maximum Customer Revenue
    • Add Multiple Links To Element
  • Sidebar Element Features

    • Define Name
    • Define Icon
    • Toggle Elements Display
    • Define Visibility For:
      • Logged In Clients
      • Non-Logged In Clients
      • All Clients
    • Define Display Rules:
      • Client Owns Domain
      • Client Owns Product
      • Client Is In Location
    • Additional Conditions:
      • Active Products/Domains/Addons
      • Inactive Products/Domains/Addons
      • Minimum And Maximum Customer Revenue
    • Add Multiple Links To Element
    • Customize Body And Footer Content - Supports HTML, CSS, JavaScript And Smarty
    • Add Content Rotator:
      • Include Multiple Body Contents And Image Items
      • Toggle Autoplay
      • Define Autoplay Speed
      • Toggle Dots Display
      • Toggle Arrows Display
      • Toggle Infinite Rotation
      • Customize HTML Footer
  • Homepage Widget Features

    • Define Name
    • Define Icon
    • Toggle Elements Display
    • Define Style Color
    • Define Widget Button
    • Add Multiple Links To Element
    • Customize Body And Footer Content - Supports HTML, CSS, JavaScript And Smarty
    • Add Content Rotator:
      • Include Multiple Body Contents And Image Items
      • Toggle Autoplay
      • Define Autoplay Speed
      • Toggle Dots Display
      • Toggle Arrows Display
      • Toggle Infinite Rotation
      • Customize HTML Footer
  • General Info

    • Supports Smarty Template Engine
    • Supports WHMCS Themes "Six" And "Twenty-One"
    • Multi-Language Support
    • Supports PHP 8.3 Back To PHP 8.2
    • Supports WHMCS V9.X Back To WHMCS V8.10
    • Requires ionCube Loader V14 Or Later
    • Easy Module Upgrade To Open Source Version (opens new window)

# Installation

This tutorial will show you how to successfully install and configure Client Area Designer For WHMCS. (opens new window)

We will guide you step by step through the whole installation and configuration process.

  1. Log in to our client area and download the module.
Client Area Designer For WHMCS: module download page in the client area with the Download button for the latest version
  1. Extract the package and upload its content into the main WHMCS directory.
    The content of the package to upload should look like this.

    Client Area Designer For WHMCS: extracted package contents with the includes and modules folders and oauth_callback.php
  2. When you install Client Area Designer For WHMCS for the first time you have to rename 'license_RENAME.php' file.
    File is located in 'modules/addons/ClientAreaDesigner/license_RENAME.php'. Rename it from 'license_RENAME.php' to 'license.php'.

    Client Area Designer For WHMCS: file manager with the licenseRENAME.php file being renamed to license.php
  3. In order to configure your license key, you have to edit the previously renamed 'license.php' file.
    Enter your license key between quotation marks as presented on the following screen. You can find your license key in our client area → 'My Products'.

    Client Area Designer For WHMCS: license.php file in a code editor with the license key entered between quotation marks
  4. Now you have to activate the module in your WHMCS system.
    Log in to your WHMCS admin area. Go to 'System Settings' → 'Addon Modules'. Afterwards, find 'Client Area Designer' and press 'Activate' button.

    Client Area Designer For WHMCS: WHMCS Addon Modules list with the Activate button next to Client Area Designer
  5. In the next step you need to permit access to this module.
    To do so, click on 'Configure' button, tick 'Full Administrator' and press 'Save Changes'.

    Client Area Designer For WHMCS: WHMCS Addon Modules access control with role checkboxes, Configure and Save Changes
  6. You have just successfully installed Client Area Designer For WHMCS!
    You can access your module under 'Addons' → 'Client Area Designer'.

Client Area Designer For WHMCS: module Navbars page in the WHMCS admin area with the Panels, Locations and Scanner tabs

# Configuration and Management

Client Area Designer For WHMCS is a module which allows you to adjust the layout of any panels available on your client area as well as add new widgets.
The module does not require highly advanced configuration.
That is why we will immediately move to the most crucial aspect, which is customizing the panels layout.

# Panels

Under 'Panels' tab you will find three sections dedicated to the visibility of different types of panels in your client area.

  • Navbars - Management of positions available on the navigation bar in your client area
  • Sidebars - Management of panels available on the left sidebar in your client area
  • Homepage Widgets - Modify and create new widgets available on your home page

On the first sight you will see two tables, each related to Primary Navbar Left or Right side.
There are already all the predefined sections outlined with their official names and positions.
Info:
If you already see that you have more elements than it is visible in the addon, then use 'Scanner' to search for them.
Read more about scanning option here.

Client Area Designer For WHMCS: Navbars page with the Scanner link in the top menu and primary navbar elements

Those are the below navbar panels visible in the client area.

Client Area Designer For WHMCS: WHMCS client area with the primary navbar highlighted in a red frame above the welcome

First of all, you may change the position of the elements.
Drag one panel and drop it in the required place.

Client Area Designer For WHMCS: Navbars page with elements reordered by drag and drop and the Save Order button

Use action buttons to:

  • edit the section
  • delete (only custom elements)
  • view child elements
Client Area Designer For WHMCS: Navbars page with the Services element expanded and numbered edit, delete and child
# Edit Element

When you are editing an existing parent element, you may:

  • Name - change existing or provide a new element name.
    Note that displayed name in the client area of a default WHMCS element will still be taken from the chosen client's language file, so you need also to modify it accordingly.
  • URI - provide a URI
  • Icon - add an icon
  • Display - hide an element
  • Visible - select who it will be visible for: logged in clients, not logged or all clients
Client Area Designer For WHMCS: Edit element dialog, General tab with name, URI, icon, Display checkbox and Visible list

You may also provide some display rules. Only the clients who fulfill the rules will see the element.
If you leave this part empty, the element will be visible to all clients without limitations.

  • Domains - select the domains which clients must own
  • Products - point the products which clients must own
  • Locations - choose the location which clients must enter
Client Area Designer For WHMCS: Edit element dialog, Display Rules tab with empty Domains, Products and Locations fields

In the last tab, you can specify what conditions have to be met to display an element.
If you leave this part empty, the element will be visible to all clients without limitations.

  • Active - choose which services from at least one of each types customers should have active
  • Inactive - choose which services from at least one of each types customers should have inactive (terminated, cancelled, suspended or expired)
  • Revenue - define the minimum and maximum revenue earned from the customer to display an element
    Do not forget to save changes after specifying the conditions.
Client Area Designer For WHMCS: Edit element dialog, Conditions tab with active and inactive items and a revenue range
# New Parent Element

It is possible add a completely new parent element either on left or right side.
To do so, press 'Add'.

Client Area Designer For WHMCS: Navbars page with the Add button of the Primary Navbar Right Side marked by a red arrow

Then you will have to fill out all the general info, content and display rules.
Start with 'General'. Provide:

  • name visible for clients
  • unique for the system identifier
  • URI
  • select icon from available
  • select 'Display' to make the panel visible
  • finally decide who it will be visible for: logged in clients, not logged in or all clients
Client Area Designer For WHMCS: New Panel dialog, General tab for the Support Chat element with URI, icon and visibility

If you want only some of the clients to see the panel, then set up the 'Display Rules'.
In our case, we decided to select products a client must own to get access to 'Support Chat'.
Save changes.

Client Area Designer For WHMCS: New Panel dialog, Display Rules tab with selected products and the Save Changes button

This is what our new panel looks like in the client area:

Client Area Designer For WHMCS: WHMCS client area navbar showing the new Support Chat panel on the right and Ticket Form
# New Child Element

Let's now add one more element to the already existing 'Support' panel.

Client Area Designer For WHMCS: Navbars page with the Support element expanded and the Add child element button marked

You have to fill out the same data as in case of parent element:

  • name
  • identifier
  • URI
  • icon
  • select 'Display' to make it visible
  • finally select who it will be visible for: logged in clients, not logged or all clients
    This time we want all the clients to have access to our FAQ site, so we do no set any 'Display Rules'.
Client Area Designer For WHMCS: New Panel dialog, General tab for the FAQ child element visible to logged in clients

As a custom element, you may delete it completely or edit.

Client Area Designer For WHMCS: Navbars page with red arrows on the delete icons of the FAQ and Support Chat elements

Let's take a look at the new position in the client area:

Client Area Designer For WHMCS: WHMCS client area with the Support menu expanded showing the new FAQ item in the

Sidebar panels section refers to the elements located on the left side of your client area.
Generally, management of sidebars is very similar to the Navbar panels described in the previous section.

Client Area Designer For WHMCS: Sidebars page with Top Part and Bottom Part holding Client Details, Contacts and

Available actions:

  • change positioning by dragging and dropping elements in the selected place
  • edit the section - change name, icon, content (if possible), display rules and conditions
  • delete elements - this option is available for custom entries only
  • view child elements
Client Area Designer For WHMCS: Sidebars page with the Client Shortcuts panel expanded and numbered edit, delete, child
# Edit Element

General section:

  • provide a new display name
  • add icon
  • hide/show the element
  • change visibility
Client Area Designer For WHMCS: Edit Client Shortcuts dialog, General tab with the Display checkbox and Visible list

Content:
You can add two types of content - HTML and Content Rotator.
Note that it is possible only if the element has no child elements.

  • HTML - simply change the Body or Footer content.
Client Area Designer For WHMCS: Edit Client Shortcuts dialog, Content tab with HTML type and empty Body and Footer
  • Content Rotator - define how many elements can rotate within specified time intervals and choose the panel navigation elements.
Client Area Designer For WHMCS: Edit Client Shortcuts dialog, Content tab with Content Rotator type and autoplay options

Here is an example of a simple effect that you can achieve with the content rotator.

Client Area Designer For WHMCS: animated content rotator panel Our Clients and Partners with arrows, dots and a footer

Display Rules - only clients who fulfill the rules will see the element.
If you leave this part empty, the element will be visible for all clients without limitations.

Client Area Designer For WHMCS: Edit Client Shortcuts dialog, Display Rules tab with empty fields and the Save Changes

Conditions - specify what conditions have be met to display an element.
If you leave this part empty, the element will be visible to all clients without limitations.

  • Active - choose which services from at least one of each types customers should have active
  • Inactive - choose which services from at least one of each types customers should have inactive (terminated, cancelled, suspended or expired)
  • Revenue - define the minimum and maximum revenue earned from the customers to display an element
    Do not forget to save changes after specifying the conditions.
Client Area Designer For WHMCS: Edit Client Shortcuts dialog, Conditions tab with active and inactive items and revenue
# New Parent Element

You may add a completely new parent element either on left or right side.
Press 'Add'.

Client Area Designer For WHMCS: Sidebars page with the Add button of the Sidebar Top Part marked by a red arrow

Then you will have to fill out all the general info, content and display rules.
Start with 'General'. Provide:

  • name visible for clients
  • unique for the system identifier
  • select icon from available
  • select 'Display' to make the panel visible
  • finally decide who it should be visible for: logged in clients, not logged in or all
Client Area Designer For WHMCS: New Panel dialog, General tab for the Special Offer sidebar panel with bell icon

Select content Type and define Body and Footer content.
Note: If you provide the content here, you will not be able to add child elements to this item.

Client Area Designer For WHMCS: New Panel dialog, Content tab with HTML type and filled Body HTML and Footer HTML fields

If you want only the specified clients to see the panel, set up the 'Display Rules' or 'Conditions'.
Save changes.

Client Area Designer For WHMCS: New Panel dialog, Display Rules tab with Domains, Products and Locations fields

This is what our new panel looks like in the client area:

Client Area Designer For WHMCS: WHMCS client area checkout page with the new Special Offer panel in the left sidebar
# New Child Element

Let's now add one child element to client's 'Shortcuts'.

Client Area Designer For WHMCS: Sidebars page with the Shortcuts panel expanded and the Add button for a new child

Fill out all the required data to crate a correct link:

  • name
  • identifier
  • URI
  • icon
  • select 'Display'
  • define visibility
Client Area Designer For WHMCS: New Panel dialog General tab with name, identifier, URI, icon and visibility

Any custom element can be deleted. In contrast to the default ones which may be only edited and hidden.

Client Area Designer For WHMCS: Sidebars page with the new Quotes child element in Shortcuts and the delete icon marked

Now, you see an additional link under 'Shortcuts'.

Client Area Designer For WHMCS: WHMCS client area homepage with the new Quotes link added under the Shortcuts sidebar

# Homepage Widgets

The last type of panels are homepage widgets.
Available actions:

  • change positioning by dragging and dropping elements in the selected place
  • edit the widget
  • view child elements if there are any
  • delete custom widgets
Client Area Designer For WHMCS: Homepage Widgets page with the widget list, action icons and Save Order button

To visualize, these are the client area widgets we are going to alter in a moment:

Client Area Designer For WHMCS: WHMCS client area homepage with the default widgets highlighted in a red frame
# Edit widget

General

  • provide a new display name
  • change icon
  • hide the element
Client Area Designer For WHMCS: Edit widget dialog, General tab with a new name, identifier, icon and Display

Under 'Content' section you can overwrite the default text.
We will leave it empty as we do not want to change the content, just the look and feel of the widget.

Client Area Designer For WHMCS: Edit widget dialog, Content tab with the HTML type and empty Body and Footer fields

Extras - here you can change the visual parts:

  • widget color
  • button name, URI and icon
Client Area Designer For WHMCS: Edit widget dialog on the Extras tab with the Widget Color drop-down list opened

That is what our adjusted widget looks like now:

Client Area Designer For WHMCS: WHMCS client area homepage widgets with the edited purple Invoices Awaiting Payment
# Add New Widget

For presentation purposes, we will create now a completely new widget.
It will include a button redirection to our Knowledgebase and two links to FAQ and Upload Files form.
To start, simply press 'Add' button.

Client Area Designer For WHMCS: Homepage Widgets page with the Add button marked to create a new widget

Then fill out all the general info, content and extras.
Start with 'General', provide:

  • widget name
  • unique for the system identifier
  • select icon from available
  • finally select 'Display' to make the panel visible
Client Area Designer For WHMCS: New widget dialog, General tab with the Knowledgebase name, identifier and icon

As we are going to add two links inside the widget, so we have to skip this section.

Client Area Designer For WHMCS: New widget dialog, Content tab with the HTML type and empty Body and Footer fields

Finally, customize your widget by defining color and button details.
Save changes.

Client Area Designer For WHMCS: New widget dialog, Extras tab with widget color and Articles button name, URI, icon
# New Child Widget

Let's now add a child element to the just created 'Knowledgebase'.

Client Area Designer For WHMCS: Homepage Widgets page with the Knowledgebase widget expanded and its Add button

Fill out the required data:

  • name
  • identifier
  • URI
  • icon
  • select 'Display'
Client Area Designer For WHMCS: New child widget dialog with the FAQ name, identifier, faq.php URI and icon

As you can see, we added two new entries under the 'Knowledgebase' widget.
Surely, you can edit each one of them or delete.

Client Area Designer For WHMCS: Homepage Widgets page with Knowledgebase widget holding FAQ and Upload Files entries

Here is a final view of our customized client area with new elements:

Client Area Designer For WHMCS: Client area homepage with the new Knowledgebase widget and its FAQ and Upload Files

# Locations

In this you will find an extended list of all standard locations in your client area with its common name and URI.
These locations are searched through by the module scanner in search of custom panels and are available in the 'Locations' field when setting up 'Display Rules'.

Client Area Designer For WHMCS: Locations page with the table of known client area locations, search field and Add New

Press the button with pencil icon next to the location you are interested in editing.

Client Area Designer For WHMCS: Locations page with the pencil edit button marked next to the domainchecker.php location

There you can edit the name of existing location and its URI.

Client Area Designer For WHMCS: Edit Location dialog for domainchecker.php with the Name and URI fields and the Save

# New Location

You may also add new if you have some custom locations and you wish to use them in our module.
Please note that your locations have to be manageable by WHMCS.

Client Area Designer For WHMCS: Locations page with the Add New button marked below the table of locations

Provide a location name and URI.
When ready, your new location will be from now on used by Client Area Designer module.

Client Area Designer For WHMCS: Add New Location dialog with the mycustomlocation.php name and URI and the Add button

# Scanner

Scanner is a tool that allows our module to carefully browse through a chosen client's client area in search of any elements in known locations.
Select a client to log in as one and run the scanner.

Client Area Designer For WHMCS: Scanner page with the Run As Client drop-down list and the Run Scanner button marked

You will see a preview of all locations. When the scan is finished, you will see a summary with the number of found panels.
All newly found elements will be automatically added to proper positions in the addon.

Client Area Designer For WHMCS: Scanner page with the green status message that the scan completed and 3 panels were

# Documentation

The last position in your navigation menu, when pressed, redirects to the article you are currently reading.

Client Area Designer For WHMCS: Navbars page with the Documentation item marked in the top menu of the module

# Smarty Tags

Starting with the 1.1.0 version, the module allows you to use Smarty (opens new window) tags in HTML content.
For example, if you use {$client.firstname}, {$client.lastname} and {$client.credit} in the following code:

Hello <b>{$client.firstname} {$client.lastname}!</b>   
You still have <b>${$client.credit}</b> funds on your account.   
Find out what you can do with them!   
Client Area Designer For WHMCS: Edit Funds Available dialog on the Content tab with Body HTML using Smarty client tags

The result will be as follows:

Client Area Designer For WHMCS: Funds Available panel in the client area showing the client name and credit from Smarty

You can, of course, use the full scope of Smarty tags, such as conditional instructions (opens new window):

Hello <b>{$client.firstname} {$client.lastname}!</b>   
{if $client.credit gt 0}   
You still have <b>${$client.credit}</b> funds on your account.   
Find out what you can do with them!   
{else}Sorry you have no funds!   
{/if}   

In this example, if the customer does not have any credit, he will see something like this:

Client Area Designer For WHMCS: Funds Available panel in the client area showing the message for a client with no credit

Of course, this is just a very simple example that will only work for the clients who are logged in. In order to build more advanced elements, please check out the Smarty documentation (opens new window).
Note: Remember that the incorrect use of Smarty tags may lead to a website not operating properly.
If you need to use a more advanced code using {php} tags, make sure that you have enabled the relevant option in the 'General Settings' → 'Security'.
This function is only supported by WHMCS up to version 8.6. If you plan to update your WHMCS keep in mind {php} tags are no longer supported (opens new window).

Client Area Designer For WHMCS: WHMCS admin General Settings, Security tab with Allow Smarty PHP Tags set to Enabled

For example, you can list all of the template variables using:

<pre>{php}print_r($template->getTemplateVars());{/php}   

# Tips

  1. When you are adding a new element into your client area, you may add the langs used in the lang file to enable translations and changes.
    To do so:

    • open your english.php file
    • type in a new line in format:
    $_LANG['element name'] = 'Element Name';   
    
    • to change/translate it, simply change the content after the '=' sign.
  2. Client Area Designer module supports custom modification that are based on template six customized according to this documentation (opens new window).

# Update Instructions

Essential guidance through the process of updating the module is offered here.

Ensure successful completion of the module update by carefully following each step, thereby preventing data loss or any unforeseen issues.
Additionally, you will find a current list of supplementary actions necessary for a smooth update process there.

# Upgrade Guide

Seeking a solution that offers greater flexibility, customization tailored to your precise needs, and unrestricted availability?
There is an option that not only proves to be cost-effective in the long run but also includes prioritized support services, making it a truly valuable investment.

Opt for the Open Source version (opens new window) of your Client Area Designer For WHMCS module to unlock these benefits.
Simply click on either the Get Source Code or Upgrade To Lifetime button found on the product's page in our client area to complete the one-step upgrade process, with a dedicated discount already applied.

Follow a comprehensive guide covering the transition process, the advantages it brings, and step-by-step instructions on what to do next after the order has been successfully finalized.

# Common Problems

  1. In case of connection problems, please check whether your SELinux or firewall does not block ports.

  2. The module is not compatible with Lagom One Step Order For WHMCS, and the integration between them is not planned as such due to their individuality and exclusive features.