Personal tools
Namespaces

Variants
Actions

Client Area Designer For WHMCS

From ModulesGarden Wiki
(Difference between revisions)
Jump to: navigation, search
(New Child Element)
(Tips)
 
(93 intermediate revisions by 8 users not shown)
Line 2: Line 2:
 
<meta name="description" content="ModulesGarden Wiki Contains All The Information You Need About The Client Area Designer For WHMCS Module."></meta>
 
<meta name="description" content="ModulesGarden Wiki Contains All The Information You Need About The Client Area Designer For WHMCS Module."></meta>
  
 
+
=About [https://www.modulesgarden.com/products/whmcs/client-area-designer Client Area Designer For WHMCS]=
 
+
=About [http://www.modulesgarden.com/products/whmcs/client_area_designer/features Client Area Designer For WHMCS]=
+
 
{|
 
{|
|style="padding: 10px 0px 10px 0px;"|'''Client Area Designer For WHMCS''' is a module that allows administrators to manage their client area final view.<br/>
+
|style="padding: 10px 0px 10px 0px;"|'''Client Area Designer For WHMCS''' will allow you to tailor the view of your entire WHMCS client area.<br/>
Change the order of displayed elements, add new ones or hide them if you do not want your clients to access them.<br/>
+
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.<br/>
Additionally, you may create new widgets and set up restrictions rules to show the widget to selected clients only.
+
Additionally, you may set up restrictions rules to show the particular components to selected clients only.
 
|}
 
|}
 
<!-- fixed -->
 
<!-- fixed -->
Line 25: Line 23:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Add Your Own Elements & Widgets
+
|style="padding: 0px 0px 0px 30px;"|✔ Add Your Own Elements And Widgets
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Scan Your Client Area In Search Of Custom Elements & Widgets
+
|style="padding: 0px 0px 0px 30px;"|✔ Scan Your Client Area In Search Of Custom Elements And Widgets
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 10px 30px;"|✔ View & Modify List Of Known Locations In Your Client Area
+
|style="padding: 0px 0px 10px 30px;"|✔ View And Modify List Of Known Locations In Your Client Area
 
|}
 
|}
 
*'''Navbar Element Features:'''
 
*'''Navbar Element Features:'''
Line 42: Line 40:
 
{|
 
{|
 
|style="padding: 0px 0px 0px 30px;"|✔ Define Icon
 
|style="padding: 0px 0px 0px 30px;"|✔ Define Icon
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 30px;"|✔ Toggle Elements Display
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 30px;"|✔ Define Visibility For:
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 45px;"|✔ Logged In Clients
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 45px;"|✔ Non-Logged In Clients
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 45px;"|✔ All Clients
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Define Display Rules:
+
|style="padding: 0px 0px 0px 30px;"|✔ Define Display Rules:
 
|}
 
|}
 
{|
 
{|
Line 54: Line 67:
 
{|
 
{|
 
|style="padding: 0px 0px 0px 45px;"|✔ Client Is In Location
 
|style="padding: 0px 0px 0px 45px;"|✔ Client Is In Location
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 30px;"|✔ Additional Conditions:
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 45px;"|✔ Active Products/Domains/Addons
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 45px;"|✔ Inactive Products/Domains/Addons
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 45px;"|✔ Minimum And Maximum Customer Revenue
 
|}
 
|}
 
{|
 
{|
Line 62: Line 87:
 
{|
 
{|
 
|style="padding: 10px 0px 0px 30px;"|✔ Define Name
 
|style="padding: 10px 0px 0px 30px;"|✔ Define Name
|}
 
{|
 
|style="padding: 0px 0px 0px 30px;"|✔ Define URI Of 2nd Level Elements Only
 
 
|}
 
|}
 
{|
 
{|
 
|style="padding: 0px 0px 0px 30px;"|✔ Define Icon
 
|style="padding: 0px 0px 0px 30px;"|✔ Define Icon
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 30px;"|✔ Toggle Elements Display
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 30px;"|✔ Define Visibility For:
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 45px;"|✔ Logged In Clients
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 45px;"|✔ Non-Logged In Clients
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 45px;"|✔ All Clients
 
|}
 
|}
 
{|
 
{|
Line 82: Line 119:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 45px;"|✔ Choose One Feature Per Element:
+
|style="padding: 0px 0px 0px 30px;"|✔ Additional Conditions:
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 45px;"|✔ Active Products/Domains/Addons
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 45px;"|✔ Inactive Products/Domains/Addons
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 45px;"|✔ Minimum And Maximum Customer Revenue
 
|}
 
|}
 
{|
 
{|
Line 88: Line 134:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 10px 30px;"|✔ Define Custom Body & Footer Content - Support HTML, CSS & JavaScript
+
|style="padding: 0px 0px 0px 30px;"|✔ Customize Body And Footer Content - Supports HTML, CSS, JavaScript And Smarty
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 30px;"|✔ Add Content Rotator:
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 45px;"|✔ Include Multiple Body Contents And Image Items
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 45px;"|✔ Toggle Autoplay
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 45px;"|✔ Define Autoplay Speed
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 45px;"|✔ Toggle Dots Display
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 45px;"|✔ Toggle Arrows Display
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 45px;"|✔ Toggle Infinite Rotation
 +
|}
 +
{|
 +
|style="padding: 0px 0px 10px 45px;"|✔ Customize HTML Footer
 
|}
 
|}
  
Line 96: Line 166:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Define URI Of 2nd Level Elements Only
+
|style="padding: 0px 0px 0px 30px;"|✔ Define Icon
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Define Icon
+
|style="padding: 0px 0px 0px 30px;"|✔ Toggle Elements Display
|}
+
|}
 
{|
 
{|
 
|style="padding: 0px 0px 0px 30px;"|✔ Define Style Color
 
|style="padding: 0px 0px 0px 30px;"|✔ Define Style Color
Line 108: Line 178:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Choose One Feature Per Widget:
+
|style="padding: 0px 0px 0px 30px;"|✔ Add Multiple Links To Element
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 45px;"|✔ Add Multiple Links To Element
+
|style="padding: 0px 0px 0px 30px;"|✔ Customize Body And Footer Content - Supports HTML, CSS, JavaScript And Smarty
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 10px 45px;"|✔ Define Custom Body & Footer Content - Support HTML, CSS & JavaScript
+
|style="padding: 0px 0px 0px 30px;"|✔ Add Content Rotator:
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 45px;"|✔ Include Multiple Body Contents And Image Items
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 45px;"|✔ Toggle Autoplay
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 45px;"|✔ Define Autoplay Speed
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 45px;"|✔ Toggle Dots Display
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 45px;"|✔ Toggle Arrows Display
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 45px;"|✔ Toggle Infinite Rotation
 +
|}
 +
{|
 +
|style="padding: 0px 0px 10px 45px;"|✔ Customize HTML Footer
 
|}
 
|}
 
*'''General Info:'''
 
*'''General Info:'''
 
{|
 
{|
|style="padding: 10px 0px 0px 30px;"|✔ Multi-Language Support
+
|style="padding: 10px 0px 0px 30px;"|✔ Supports Smarty Template Engine
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 30px;"|✔ Supports WHMCS V6
+
|style="padding: 0px 0px 0px 30px;"|✔ Supports WHMCS Themes "Six" And "Twenty-One"
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 30px;"|✔ Multi-Language Support
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 30px;"|✔ Supports PHP 8.2 Back To PHP 7.4
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 30px;"|✔ Supports WHMCS V8.11 Back To WHMCS V8.8
 +
|}
 +
{|
 +
|style="padding: 0px 0px 0px 30px;"|✔ Requires ionCube Loader V13 Or Later
 +
|}
 +
{|
 +
|style="padding: 0px 0px 30px 30px;"|✔ Easy [https://www.docs.modulesgarden.com/How_To_Upgrade_WHMCS_Module Module Upgrade] To [https://www.modulesgarden.com/products/whmcs/client-area-designer#open-source-version Open Source Version]
 
|}
 
|}
  
 
=Installation=
 
=Installation=
 
{|
 
{|
|style="padding: 10px 0px 0px 0px;"|'''This tutorial will show you how to successfully install and configure Client Area Designer For WHMCS.''' <br/>
+
|style="padding: 10px 0px 0px 0px;"|'''This tutorial will show you how to successfully install and configure [https://www.modulesgarden.com/products/whmcs/client-area-designer Client Area Designer For WHMCS.]''' <br/>
 
We will guide you step by step through the whole installation and configuration process.  
 
We will guide you step by step through the whole installation and configuration process.  
 
|}
 
|}
 
{|
 
{|
|style="padding: 20px 0px 20px 15px;"|'''1. Log in to your client area and download Client Area Designer For WHMCS.'''
+
|style="padding: 20px 0px 20px 15px;"|'''1. Log in to our client area and download the module.'''
 
|}
 
|}
 
{|
 
{|
Line 136: Line 242:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|'''2. Upload and extract the module into the main WHMCS directory.'''<br/>
+
|style="padding: 0px 0px 10px 15px;"|'''2. In the downloaded file you might find one or two packages that support different PHP versions.'''<br/>
Files in your WHMCS directory should look like on the following screen.
+
In the most recent versions of the module, you will find only one package that supports PHP 7.2 and later.<br/> <!-- If you need a package for the previous versions of PHP, please [https://www.modulesgarden.com/support/ticket/general-support contact our support]. -->
 +
|}
 +
{|
 +
|style="padding: 0px 0px 20px 25px;"|[[File:PHP72_74.png]]
 +
|}
 +
{|
 +
|style="padding: 0px 0px 15px 15px;"|'''Previous updates of the module may contain two packages dedicated to various PHP versions.'''<br/>  
 +
The first one that supports PHP 5.6 up to PHP 7.1, and the second one addressed to PHP 7.2 up to PHP 7.4.<br/>
 +
'''''Note:''' Keep in mind that PHP versions 5.6 up to 7.1 are no longer officially supported and their security issues are not fixed or released any more. Find more info [http://php.net/supported-versions.php here].''
 +
|}
 +
{|
 +
|style="padding: 0px 0px 20px 25px;"|[[File:PHP56_74.png]]
 +
|}
 +
{|
 +
|style="padding: 0px 0px 10px 15px;"|<!-- '' '''Important''': This situation does not affect [https://www.modulesgarden.com/products/whmcs/client-area-designer#open-source-version '''the open source version'''] of this module which can be applied to any PHP from version 5.6 and later.''<br/>'' -->'''Note''': You can check the current PHP version in your WHMCS. To do so, proceed to ''' 'Utilities' → 'System' → 'PHP Info'.'''
 +
|}
 +
{|
 +
|style="padding: 0px 0px 15px 15px;"|'''3. Extract the package and upload its content into the main WHMCS directory.<br/>
 +
The content of the package to upload should look like this.  
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_2.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:etrer.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|'''3. When you install Client Area Designer for the first time you have to rename '' 'license_RENAME.php' '' file.'''<br/>
+
|style="padding: 0px 0px 15px 15px;"|'''4. When you install Client Area Designer For WHMCS for the first time you have to rename '' 'license_RENAME.php' '' file.'''<br/>
File is located in '' 'modules/addons/ClientAreaDesignerModule/license_RENAME.php'. '' Rename it from '' 'license_RENAME.php' '' to '' 'license.php'. ''
+
File is located in '' 'modules/addons/ClientAreaDesigner/license_RENAME.php'. '' Rename it from '' 'license_RENAME.php' '' to '' 'license.php'. ''
 
|}
 
|}
 
{|
 
{|
Line 150: Line 274:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|'''4. In order to configure your license key, you have to edit the previously renamed '' 'license.php' file.'''''<br/>
+
|style="padding: 0px 0px 15px 15px;"|'''5. In order to configure your license key, you have to edit the previously renamed '' 'license.php' file.'''''<br/>
Enter your license key between quotation marks as presented on the following screen. You can find your license key in your client area → '' 'My Products'.''
+
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'.''
 
|}
 
|}
 
{|
 
{|
Line 157: Line 281:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|'''5. Now you have to activate the module in your WHMCS system. '''<br/>
+
|style="padding: 0px 0px 15px 15px;"|'''6. Now you have to activate the module in your WHMCS system. '''<br/>
Log in to your WHMCS admin area. Go to '' 'Setup' '' → '' 'Addon Modules'. '' Afterwards, find '' 'Client Area Designer' '' and press '' 'Activate' '' button.
+
Log in to your WHMCS admin area. Go to '' 'System Settings' '' → '' 'Addon Modules'. '' Afterwards, find '' 'Client Area Designer' '' and press '' 'Activate' '' button.
 
|}
 
|}
 
{|
 
{|
Line 164: Line 288:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|'''6. In the next step you need to permit access to this module.'''<br/>
+
|style="padding: 0px 0px 15px 15px;"|'''7. In the next step you need to permit access to this module.'''<br/>
 
To do so, click on '' 'Configure' '' button, tick '' 'Full Administrator' '' and press '' 'Save Changes'. ''
 
To do so, click on '' 'Configure' '' button, tick '' 'Full Administrator' '' and press '' 'Save Changes'. ''
 
|}
 
|}
Line 171: Line 295:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|'''7. You have just successfully installed Client Area Designer For WHMCS!'''<br/>
+
|style="padding: 0px 0px 15px 15px;"|'''8. You have just successfully installed Client Area Designer For WHMCS!'''<br/>
 
You can access your module under '' 'Addons' '' → '' 'Client Area Designer'.''
 
You can access your module under '' 'Addons' '' → '' 'Client Area Designer'.''
 
|}
 
|}
Line 180: Line 304:
 
=Configuration and Management=
 
=Configuration and Management=
 
{|
 
{|
|style="padding: 10px 0px 30px 15px;"|'''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 sections.'''<br/>
+
|style="padding: 10px 0px 30px 15px;"|'''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.'''<br/>
The module does not require highly advanced configuration.<br/>That is why, we will immediately move to the most crucial aspect, which is customizing the panels layout.
+
The module does not require highly advanced configuration.<br/>That is why we will immediately move to the most crucial aspect, which is customizing the panels layout.
 
|}
 
|}
  
Line 187: Line 311:
 
{|
 
{|
 
|style="padding: 10px 0px 30px 15px;"|Under '' 'Panels' '' tab you will find three sections dedicated to the visibility of different types of panels in your client area.
 
|style="padding: 10px 0px 30px 15px;"|Under '' 'Panels' '' tab you will find three sections dedicated to the visibility of different types of panels in your client area.
*Navbars - Manage positions available on the navigation bar in your client area. Additionally, define requirements for element to be shown.
+
*Navbars - Management of positions available on the navigation bar in your client area
*Sidebars - Manage panels available on the left sidebar in your client area. Additionally, define requirements for panels to be shown or modify output of the default panels.
+
*Sidebars - Management of panels available on the left sidebar in your client area
*Homepage Widgets - Homepage Widgets can be viewed and modified here.
+
*Homepage Widgets - Modify and create new widgets available on your home page
 
|}
 
|}
 
===Navbars===
 
===Navbars===
 
{|
 
{|
 
|style="padding: 10px 0px 15px 15px;"|On the first sight you will see two tables, each related to Primary Navbar Left or Right side.<br/>
 
|style="padding: 10px 0px 15px 15px;"|On the first sight you will see two tables, each related to Primary Navbar Left or Right side.<br/>
There are already all the predefined sections outlined with their official names and positions.
+
There are already all the predefined sections outlined with their official names and positions.<br/>
 +
''Info:
 +
If you already see that you have more elements than it is visible in the addon, then use '' 'Scanner' '' to search for them.<br/> Read more about scanning option [[#Scanner|here]].''
 
|}
 
|}
 
{|
 
{|
Line 206: Line 332:
 
|}
 
|}
 
{|
 
{|
|style="padding: 10px 0px 20px 15px;"|First of all, you may change the position of the elements.<br/>
+
|style="padding: 0px 0px 15px 15px;"|First of all, you may change the position of the elements.<br/>
 
Drag one panel and drop it in the required place.
 
Drag one panel and drop it in the required place.
 
|}
 
|}
Line 213: Line 339:
 
|}
 
|}
 
{|
 
{|
|style="padding: 10px 0px 20px 15px;"|Use action buttons to:
+
|style="padding: 0px 0px 15px 15px;"|Use action buttons to:
 
*edit the section
 
*edit the section
 
*delete '''(only custom elements)'''
 
*delete '''(only custom elements)'''
Line 219: Line 345:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_11.png]]
+
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_11.png]]
 
|}
 
|}
 
====Edit Element====
 
====Edit Element====
 
{|
 
{|
 
|style="padding: 10px 0px 15px 15px;"|When you are editing an existing parent element, you may:
 
|style="padding: 10px 0px 15px 15px;"|When you are editing an existing parent element, you may:
*provide a new display name
+
*Name - change existing or provide a new element name.<br/>'' '''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.''
*add icon
+
*URI - provide a URI
*hide the element
+
*Icon - add an icon
 +
*Display - hide an element
 +
*Visible - select who it will be visible for: logged in clients, not logged or all clients
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_12.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_12.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|You may also provide some display rules, only clients who fulfill the rules will see the element.<br/>
+
|style="padding: 0px 0px 15px 15px;"|You may also provide some display rules. Only the clients who fulfill the rules will see the element.<br/>
If you leave this part empty, the element will be visible for all clients without limitations.
+
If you leave this part empty, the element will be visible to all clients without limitations.
*select domains a client must own
+
*Domains - select the domains which clients must own
*point product that must be owned
+
*Products - point the products which clients must own
*location a client must enter<br/>
+
*Locations - choose the location which clients must enter<br/>
Do not forget to save the changes when ready.
+
 
|}
 
|}
 
{|
 
{|
 
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_13.png]]
 
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_13.png]]
 +
|}
 +
{|
 +
|style="padding: 0px 0px 15px 15px;"|In the last tab, you can specify what conditions have to be met to display an element.<br/>
 +
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<br/>
 +
Do not forget to save changes after specifying the conditions.
 +
|}
 +
{|
 +
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_13_2.png]]
 
|}
 
|}
  
====New Parent Elements====
+
====New Parent Element====
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|It is possible add a completely new parent element either on left or right side.<br/>Press '' 'Add'.''  
+
|style="padding: 10px 0px 15px 15px;"|It is possible add a completely new parent element either on left or right side.<br/> To do so, press '' 'Add'.''  
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_14.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_14.png]]
 
|}
 
|}
 
{|
 
{|
Line 257: Line 395:
 
*URI
 
*URI
 
*select icon from available
 
*select icon from available
*finally select '' 'Display' '' to make the panel visible
+
*select '' 'Display' '' to make the panel visible
 +
*finally decide who it will be visible for: logged in clients, not logged in or all clients
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_15.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_15.png]]
 
|}
 
|}
 
{|
 
{|
 
|style="padding: 0px 0px 15px 15px;"|If you want only some of the clients to see the panel, then set up the '' 'Display Rules'.''<br/>
 
|style="padding: 0px 0px 15px 15px;"|If you want only some of the clients to see the panel, then set up the '' 'Display Rules'.''<br/>
Save the changes in the end.
+
In our case, we decided to select products a client must own to get access to '' 'Support Chat'.''<br/>
 +
Save changes.
 
|}
 
|}
 
{|
 
{|
Line 270: Line 410:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 15px;"|This is how our new panel looks like in the client area:
+
|style="padding: 0px 0px 20px 15px;"|This is what our new panel looks like in the client area:
 
|}
 
|}
 
{|
 
{|
Line 278: Line 418:
 
====New Child Element====
 
====New Child Element====
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|Let's now add two child elements to the just created '' 'Support Chat' '' panel.<br/>
+
|style="padding: 10px 0px 20px 15px;"|Let's now add one more element to the already existing '' 'Support' '' panel.
'''Important:''' In case of Navbar main panels, you may only add parent elements together with a child element.<br/> Only for child elements you may specify a correct URI.<br/>
+
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_18.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_18.png]]
 
|}
 
|}
 
{|
 
{|
Line 290: Line 429:
 
*URI
 
*URI
 
*icon
 
*icon
*finally select '' 'Display' '' to make it visible<br/>
+
*select '' 'Display' '' to make it visible
 +
*finally select who it will be visible for: logged in clients, not logged or all clients
 +
<br/>
 
This time we want all the clients to have access to our FAQ site, so we do no set any '' 'Display Rules'. ''
 
This time we want all the clients to have access to our FAQ site, so we do no set any '' 'Display Rules'. ''
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_19.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_19.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 15px;"|As Sidebar element, you may delete it completely or edit.
+
|style="padding: 0px 0px 20px 15px;"|As a custom element, you may delete it completely or edit.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_20.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_20.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 15px;"|This is how our new panel looks like in the client area:
+
|style="padding: 0px 0px 20px 15px;"|Let's take a look at the new position in the client area:
 
|}
 
|}
 
{|
 
{|
Line 311: Line 452:
 
===Sidebar Panels===
 
===Sidebar Panels===
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|Sidebar panels section refer to the elements located on the left side of your client area.<br/>
+
|style="padding: 10px 0px 15px 15px;"|Sidebar panels section refers to the elements located on the left side of your client area.<br/>
Generally, management of sidebars is very similar to Navbar panels described in the previous section.<br/>
+
Generally, management of sidebars is very similar to the Navbar panels described in the previous section.
On the first sight, you will find there sidebar elements divided  into top and Bottom part.
+
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_23.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_24.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 10px 0px 20px 15px;"|Available actions:
+
|style="padding: 0px 0px 15px 15px;"|Available actions:
*change positioning by dragging and dropping the element in required place
+
*change positioning by dragging and dropping elements in the selected place
*edit the section - change name, icon, URI, content (if possible) and display rules
+
*edit the section - change name, icon, content (if possible), display rules and conditions
*delete elements - except main '' ' Client Details' '' and '' 'client Contacts' ''
+
*delete elements - this option is available for custom entries only
 
*view child elements
 
*view child elements
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_24.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_23.png]]
 
|}
 
|}
  
 
====Edit Element====
 
====Edit Element====
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|'''General''' - this part is the same as in Navbars
+
|style="padding: 10px 0px 15px 15px;"|'''General''' section:
 
*provide a new display name
 
*provide a new display name
*change URI - location it is placed in
 
 
*add icon
 
*add icon
*hide the element
+
*hide/show the element
 +
*change visibility
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_25.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_25.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|'''Content'''
+
|style="padding: 0px 0px 15px 15px;"|'''Content:'''
*change the Body or Footer content.<br/>
+
You can add two types of content - ''HTML'' and ''Content Rotator''.<br/>
Note that it is possible only if the element has no child elements.
+
'' Note that it is possible only if the element has no child elements.''
 +
*''HTML'' - simply change the ''Body'' or ''Footer'' content.<br/>
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_26.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_26.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|'''Display rules''' - only clients who fulfill the rules will see the element.<br/>
+
|style="padding: 0px 0px 15px 15px;"|
 +
*''Content Rotator'' - define how many elements can rotate within specified time intervals and choose the panel navigation elements.<br/>
 +
|}
 +
{|
 +
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_26_2.png]]
 +
|}
 +
{|
 +
|style="padding: 0px 0px 15px 15px;"|Here is an example of a simple effect that you can achieve with the content rotator.
 +
|}
 +
{|
 +
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_26_3.gif]]
 +
|}
 +
{|
 +
|style="padding: 0px 0px 15px 15px;"|'''Display Rules''' - only clients who fulfill the rules will see the element.<br/>
 
If you leave this part empty, the element will be visible for all clients without limitations.
 
If you leave this part empty, the element will be visible for all clients without limitations.
Do not forget to save the changes when ready.
 
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_27.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_27.png]]
 +
|}
 +
{|
 +
|style="padding: 0px 0px 15px 15px;"|'''Conditions''' - specify what conditions have be met to display an element.<br/>
 +
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<br/>
 +
Do not forget to save changes after specifying the conditions.
 +
|}
 +
{|
 +
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_27_2.png]]
 
|}
 
|}
  
====New Parent Elements====
+
====New Parent Element====
 
{|
 
{|
 
|style="padding: 10px 0px 15px 15px;"|You may add a completely new parent element either on left or right side.<br/>Press '' 'Add'.''  
 
|style="padding: 10px 0px 15px 15px;"|You may add a completely new parent element either on left or right side.<br/>Press '' 'Add'.''  
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_28.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_28.png]]
 
|}
 
|}
 
{|
 
{|
Line 370: Line 534:
 
*unique for the system identifier  
 
*unique for the system identifier  
 
*select icon from available
 
*select icon from available
*finally select '' 'Display' '' to make the panel visible
+
*select '' 'Display' '' to make the panel visible
 +
*finally decide who it should be visible for: logged in clients, not logged in or all
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_29.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_29.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|Define Body and Footer content.<br/>
+
|style="padding: 0px 0px 15px 15px;"|Select content ''Type'' and define ''Body'' and ''Footer'' content.<br/>
Note that if you provide the content here, you will not be able to add child elements to this item.
+
''Note: If you provide the content here, you will not be able to add child elements to this item.''
 
|}
 
|}
 
{|
 
{|
Line 383: Line 548:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|If you want only some of the clients to see the panel, then set up the '' 'Display Rules'.''<br/>
+
|style="padding: 0px 0px 15px 15px;"|If you want only the specified clients to see the panel, set up the '' 'Display Rules' '' or '' 'Conditions' ''.<br/>
Save the changes in the end.
+
Save changes.
 
|}
 
|}
 
{|
 
{|
Line 390: Line 555:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 15px;"|This is how our new panel looks like in the client area:
+
|style="padding: 0px 0px 20px 15px;"|This is what our new panel looks like in the client area:
 
|}
 
|}
 
{|
 
{|
Line 398: Line 563:
 
====New Child Element====
 
====New Child Element====
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|Let's now add one child element to the just created '' 'Test Panel'.''
+
|style="padding: 10px 0px 20px 15px;"|Let's now add one child element to client's '' 'Shortcuts'.''
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_33.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_33.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|You have to fill out the same data as in case of parent element:<br/>
+
|style="padding: 0px 0px 15px 15px;"|Fill out all the required data to crate a correct link:<br/>
 
*name
 
*name
 
*identifier  
 
*identifier  
 
*URI
 
*URI
 
*icon
 
*icon
*finally select '' 'Display' '' to make it visible
+
*select '' 'Display' ''
 +
*define visibility
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_34.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_34.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|Again, you can set up the '' 'Display Rules'.''<br/>
+
|style="padding: 0px 0px 20px 15px;"|Any custom element can be deleted. In contrast to the default ones which may be only edited and hidden.
Save the changes.
+
 
|}
 
|}
 
{|
 
{|
Line 422: Line 587:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 15px;"|As it is a custom element, you may delete it completely or edit.
+
|style="padding: 0px 0px 20px 15px;"|Now, you see an additional link under '' 'Shortcuts'.''
 
|}
 
|}
 
{|
 
{|
 
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_36.png]]
 
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_36.png]]
|}
 
{|
 
|style="padding: 0px 0px 20px 15px;"|This is how our new panel looks like in the client area:
 
|}
 
{|
 
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_37.png]]
 
 
|}
 
|}
  
 
===Homepage Widgets===
 
===Homepage Widgets===
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|The last type of panels are homepage widgets.
+
|style="padding: 10px 0px 15px 15px;"|The last type of panels are homepage widgets.<br/>
 +
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
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_38.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_37.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 10px 0px 20px 15px;"|these are these widgets in your client area:
+
|style="padding: 0px 0px 20px 15px;"|To visualize, these are the client area widgets we are going to alter in a moment:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_39.png]]
+
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_38.png]]
|}
+
{|
+
|style="padding: 10px 0px 20px 15px;"|Available actions:
+
*change positioning by dragging and dropping the element in required place
+
*edit the widget - change name, icon, URI, content (if possible) and display rules
+
*view child elements if there are any
+
*you cannot delete any of predefined WHMCS widgets, that is why the icon is unavailable
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_40.png]]
+
 
|}
 
|}
  
 
====Edit widget====
 
====Edit widget====
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|'''General''' - this part is the same as in Navbars
+
|style="padding: 10px 0px 15px 15px;"|'''General:'''
 
*provide a new display name
 
*provide a new display name
*change URI - location it is placed in
 
 
*change icon
 
*change icon
 
*hide the element
 
*hide the element
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_41.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_39.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|'''Content'''
+
|style="padding: 0px 0px 15px 15px;"|Under '' 'Content' '' section you can overwrite the default text.<br/>
*change the Body or Footer content.<br/>
+
We will leave it empty as we do not want to change the content, just the look and feel of the widget.
Note that it is possible only if the element has no child elements.
+
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_42.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_39_1.png]]
 
|}
 
|}
 
{|
 
{|
Line 483: Line 635:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_43.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_40.png]]
 +
|}
 +
{|
 +
|style="padding: 0px 0px 20px 15px;"|That is what our adjusted widget looks like now:
 +
|}
 +
{|
 +
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_41.png]]
 
|}
 
|}
  
 
====Add New Widget====
 
====Add New Widget====
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|To create a new widget, simply press '' 'Add' '' button.
+
|style="padding: 10px 0px 15px 15px;"|For presentation purposes, we will create now a completely new widget.<br/>It will include a button redirection to our Knowledgebase and two links to FAQ and Upload Files form.<br/>
 +
To start, simply press '' 'Add' '' button.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_44.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_42.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|Then you will have to fill out all the general info, content and extras.<br/>
+
|style="padding: 0px 0px 15px 15px;"|Then fill out all the general info, content and extras.<br/>
 
Start with '' 'General','' provide:
 
Start with '' 'General','' provide:
 
*widget name
 
*widget name
Line 502: Line 661:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_45.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_43.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|Provide HTML content or leave empty if you plan to add some child links.
+
|style="padding: 0px 0px 15px 15px;"|As we are going to add two links inside the widget, so we have to skip this section.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_46.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_44.png]]
 
|}
 
|}
 
{|
 
{|
 
|style="padding: 0px 0px 15px 15px;"|Finally, customize your widget by defining color and button details.
 
|style="padding: 0px 0px 15px 15px;"|Finally, customize your widget by defining color and button details.
Save the changes in the end.
+
Save changes.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_47.png]]
+
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_45.png]]
|}
+
{|
+
|style="padding: 0px 0px 20px 15px;"|This is how our new widget looks like in the client area:
+
|}
+
{|
+
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_48.png]]
+
 
|}
 
|}
  
 
====New Child Widget====
 
====New Child Widget====
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|Let's now add one child element to the just created '' 'Test Panel'.''
+
|style="padding: 10px 0px 15px 15px;"|Let's now add a child element to the just created '' 'Knowledgebase'.''
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_49.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_46.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|You have to fill out the same data as in case of parent element:<br/>
+
|style="padding: 0px 0px 15px 15px;"|Fill out the required data:<br/>
 
*name
 
*name
 
*identifier  
 
*identifier  
 
*URI
 
*URI
 
*icon
 
*icon
*finally select '' 'Display' '' to make it visible
+
*select '' 'Display' ''
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_50.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_47.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|Again, you can set up the '' 'Display Rules'.''<br/>
+
|style="padding: 0px 0px 15px 15px;"|As you can see, we added two new entries under the '' 'Knowledgebase' '' widget.<br/>
Save the changes.
+
Surely, you can edit each one of them or delete.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_51.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_48.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 15px;"|As it is a custom element, you may delete it completely or edit.
+
|style="padding: 0px 0px 20px 15px;"|Here is a final view of our customized client area with new elements:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_52.png]]
+
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_49.png]]
|}
+
{|
+
|style="padding: 0px 0px 20px 15px;"|This is how our new panel looks like in the client area:
+
|}
+
{|
+
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_53.png]]
+
 
|}
 
|}
  
Line 565: Line 712:
 
{|
 
{|
 
|style="padding: 10px 0px 15px 15px;"|In this you will find an extended list of all standard locations in your client area with its common name and URI.<br/>
 
|style="padding: 10px 0px 15px 15px;"|In this you will find an extended list of all standard locations in your client area with its common name and URI.<br/>
These locations are searched through by the module scanner in search of custom panels and are available in '' 'Locations' '' field when setting up '' 'Display Rules'. ''
+
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'. ''
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_54.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_50.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 15px;"|Press button with pencil icon next to location you are interested in to edit it.
+
|style="padding: 0px 0px 20px 15px;"|Press the button with pencil icon next to the location you are interested in editing.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_55.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_51.png]]
 
|}
 
|}
 
{|
 
{|
Line 580: Line 727:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_56.png]]
+
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_52.png]]
 
|}
 
|}
 
===New Location===
 
===New Location===
 
{|
 
{|
|style="padding: 10px 0px 20px 15px;"|You may also add new if you have some custom locations and you wish to use them in our module.<br/>
+
|style="padding: 10px 0px 15px 15px;"|You may also add new if you have some custom locations and you wish to use them in our module.<br/>
Please note that your locations must be manageable by WHMCS.
+
Please note that your locations have to be manageable by WHMCS.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_57.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_53.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 15px;"|Provide location name and URI.<br/>
+
|style="padding: 0px 0px 15px 15px;"|Provide a location name and URI.<br/>
 
When ready, your new location will be from now on used by Client Area Designer module.
 
When ready, your new location will be from now on used by Client Area Designer module.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_58.png]]
+
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_54.png]]
 
|}
 
|}
  
 
==Scanner==
 
==Scanner==
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|Scanner is a tool that allows our module to carefully browse through a chosen client's client area in search of any custom elements in known locations.<br/>
+
|style="padding: 10px 0px 15px 15px;"|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.<br/>
 
Select a client to log in as one and run the scanner.
 
Select a client to log in as one and run the scanner.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_59.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_59.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|You will see a preview of all locations. When the scan is finished, you will see a summary with the number of found panels.
+
|style="padding: 0px 0px 15px 15px;"|You will see a preview of all locations. When the scan is finished, you will see a summary with the number of found panels.<br/> All newly found elements will be automatically added to proper positions in the addon.
 
|}
 
|}
 
{|
 
{|
Line 615: Line 762:
 
==Documentation==
 
==Documentation==
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|The last position in your navigation menu, when pressed, redirects to the article you are currently reading.
+
|style="padding: 10px 0px 20px 15px;"|The last position in your navigation menu, when pressed, redirects to the article you are currently reading.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_61.png]]
+
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_55.png]]
 
|}
 
|}
 
+
==Smarty Tags==
==Visualizations==
+
 
{|
 
{|
|style="padding: 10px 0px 5px 15px;"|Now, let's take a look what Client Area Designer For WHMCS may give you in practice.<br/> Underneath, you will find several examples of pup-ups, each in a different style and of a different type.
+
|style="padding: 10px 0px 15px 15px;"|Starting with the 1.1.0 version, the module allows you to use ''[https://www.smarty.net/ Smarty]'' tags in HTML content.<br/>
 +
For example, if you use ''{$client.firstname}'', ''{$client.lastname}'' and ''{$client.credit}'' in the following code:
 +
<pre>Hello <b>{$client.firstname} {$client.lastname}!</b><br/><br/>
 +
You still have <b>${$client.credit}</b> funds on your account.<br/>
 +
Find out what you can do with them!
 +
<br/></pre>
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|Type: '' 'Text' ''<br/> Style: '' 'left_up' ''
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_57.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_28.png]]
+
|style="padding: 0px 0px 20px 15px;"|The result will be as follows:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|Type: '' 'Text' ''<br/> Style:  '' 'center_overlay' ''<br/>
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_58.png]]
'' 'Overlay' means there is a gray background behind the pop-up text or image.''
+
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_29.png]]
+
|style="padding: 0px 0px 15px 15px;"|You can, of course, use the full scope of ''Smarty'' tags, such as [https://www.smarty.net/docsv2/en/language.function.if.tpl conditional instructions]:
 +
<pre>
 +
Hello <b>{$client.firstname} {$client.lastname}!</b><br/><br/>
 +
{if $client.credit gt 0}
 +
You still have <b>${$client.credit}</b> funds on your account. <br/>
 +
Find out what you can do with them!<br/>
 +
{else}Sorry you have no funds!<br/>
 +
{/if}
 +
</pre>
 +
In this example, if the customer does not have any credit, he will see something like this:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|Type: '' 'Image',''<br/> Style: '' 'center' ''
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_58_2.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_30.png]]
+
|style="padding: 0px 0px 15px 15px;"|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 [https://www.smarty.net/documentation Smarty documentation].<br/>
 +
'' '''Note:''' Remember that the incorrect use of ''Smarty'' tags may lead to a website not operating properly.''<br/>
 +
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' ''. <br/>
 +
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 [https://docs.whmcs.com/system/php/legacy-smarty-tags/| no longer supported].
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|Type: '' 'Image',''<br/> Style: '' 'right_overlay_up' ''
+
|style="padding: 0px 0px 20px 25px;"|[[File:CAD_56.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:CAD_31.png]]
+
|style="padding: 0px 0px 30px 15px;"|For example, you can list all of the template variables using:
 +
<pre><pre>{php}print_r($template->getTemplateVars());{/php}</pre>
 
|}
 
|}
  
 
=Tips=
 
=Tips=
 
{|
 
{|
|style="padding: 10px 0px 30px 15px;"|1. Langi tutaj??
+
|style="padding: 10px 0px 5px 15px;"|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.<br/>
 +
To do so:<br/>
 +
*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.
 +
|}
 +
{|
 +
|style="padding: 0px 0px 30px 15px;"|2. Client Area Designer module supports custom modification that are based on template six customized according to this [https://developers.whmcs.com/themes/ documentation]. 
 
|}
 
|}
  
=Common Problems=
+
=Update Instructions=
 
{|
 
{|
|style="padding: 10px 0px 30px 15px;"|'''1. When you have problems with connection, check whether your SELinux or firewall does not block ports.'''
+
|style="padding: 10px 0px 30px 15px;"|Essential guidance through the process of updating the module is offered '''[https://www.docs.modulesgarden.com/How_To_Update_WHMCS_Module here]'''.<br/>
 +
Ensure successful completion of the module update by carefully following each step, thereby preventing data loss or any unforeseen issues.<br/> Additionally, you will find a current list of supplementary actions necessary for a smooth update process there.
 
|}
 
|}
<!--
+
=Upgrade Guide=
 
{|
 
{|
|style="padding: 0px 0px 10px 15px;"|2.  
+
|style="padding: 10px 0px 30px 15px;"|Seeking a solution that offers greater flexibility, customization tailored to your precise needs, and unrestricted availability?<br/> 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.<br/>
 +
 
 +
Opt for the [https://www.modulesgarden.com/products/whmcs/client-area-designer#open-source-version Open Source version] of your Client Area Designer For WHMCS module to unlock these benefits.<br/> 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.<br/>
 +
 
 +
Follow a [https://www.docs.modulesgarden.com/How_To_Upgrade_WHMCS_Module 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=
 +
{|
 +
|style="padding: 10px 0px 10px 15px;"|'''1. In case of connection problems, please check whether your SELinux or firewall does not block ports.'''
 +
|}
 +
{|
 +
|style="padding: 0px 0px 30px 15px;"|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.
 +
|}

Latest revision as of 09:14, 17 September 2024

Contents

[edit] About Client Area Designer For WHMCS

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.2 Back To PHP 7.4
✔ Supports WHMCS V8.11 Back To WHMCS V8.8
✔ Requires ionCube Loader V13 Or Later
✔ Easy Module Upgrade To Open Source Version

[edit] Installation

This tutorial will show you how to successfully install and configure Client Area Designer For WHMCS.

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.
CAD 1.png
2. In the downloaded file you might find one or two packages that support different PHP versions.

In the most recent versions of the module, you will find only one package that supports PHP 7.2 and later.

PHP72 74.png
Previous updates of the module may contain two packages dedicated to various PHP versions.

The first one that supports PHP 5.6 up to PHP 7.1, and the second one addressed to PHP 7.2 up to PHP 7.4.
Note: Keep in mind that PHP versions 5.6 up to 7.1 are no longer officially supported and their security issues are not fixed or released any more. Find more info here.

PHP56 74.png
Note: You can check the current PHP version in your WHMCS. To do so, proceed to 'Utilities' → 'System' → 'PHP Info'.
3. Extract the package and upload its content into the main WHMCS directory.

The content of the package to upload should look like this.

Etrer.png
4. 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'.

CAD 3.png
5. 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'.

CAD 4.png
6. 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.

CAD 5.png
7. 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'.

CAD 6.png
8. You have just successfully installed Client Area Designer For WHMCS!

You can access your module under 'Addons' 'Client Area Designer'.

CAD 7.png

[edit] 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.

[edit] 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

[edit] Navbars

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.

CAD 8.png
Those are the below navbar panels visible in the client area.
CAD 9.png
First of all, you may change the position of the elements.

Drag one panel and drop it in the required place.

CAD 10.png
Use action buttons to:
  • edit the section
  • delete (only custom elements)
  • view child elements
CAD 11.png

[edit] 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
CAD 12.png
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
CAD 13.png
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.

CAD 13 2.png

[edit] New Parent Element

It is possible add a completely new parent element either on left or right side.
To do so, press 'Add'.
CAD 14.png
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
CAD 15.png
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.

CAD 16.png
This is what our new panel looks like in the client area:
CAD 17.png

[edit] New Child Element

Let's now add one more element to the already existing 'Support' panel.
CAD 18.png
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'.

CAD 19.png
As a custom element, you may delete it completely or edit.
CAD 20.png
Let's take a look at the new position in the client area:
CAD 21.png

[edit] Sidebar Panels

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.

CAD 24.png
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
CAD 23.png

[edit] Edit Element

General section:
  • provide a new display name
  • add icon
  • hide/show the element
  • change visibility
CAD 25.png
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.
CAD 26.png
  • Content Rotator - define how many elements can rotate within specified time intervals and choose the panel navigation elements.
CAD 26 2.png
Here is an example of a simple effect that you can achieve with the content rotator.
CAD 26 3.gif
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.

CAD 27.png
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.

CAD 27 2.png

[edit] New Parent Element

You may add a completely new parent element either on left or right side.
Press 'Add'.
CAD 28.png
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
CAD 29.png
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.

CAD 30.png
If you want only the specified clients to see the panel, set up the 'Display Rules' or 'Conditions' .

Save changes.

CAD 31.png
This is what our new panel looks like in the client area:
CAD 32.png

[edit] New Child Element

Let's now add one child element to client's 'Shortcuts'.
CAD 33.png
Fill out all the required data to crate a correct link:
  • name
  • identifier
  • URI
  • icon
  • select 'Display'
  • define visibility
CAD 34.png
Any custom element can be deleted. In contrast to the default ones which may be only edited and hidden.
CAD 35.png
Now, you see an additional link under 'Shortcuts'.
CAD 36.png

[edit] 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
CAD 37.png
To visualize, these are the client area widgets we are going to alter in a moment:
CAD 38.png

[edit] Edit widget

General:
  • provide a new display name
  • change icon
  • hide the element
CAD 39.png
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.

CAD 39 1.png
Extras - here you can change the visual parts:
  • widget color
  • button name, URI and icon
CAD 40.png
That is what our adjusted widget looks like now:
CAD 41.png

[edit] 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.

CAD 42.png
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
CAD 43.png
As we are going to add two links inside the widget, so we have to skip this section.
CAD 44.png
Finally, customize your widget by defining color and button details.

Save changes.

CAD 45.png

[edit] New Child Widget

Let's now add a child element to the just created 'Knowledgebase'.
CAD 46.png
Fill out the required data:
  • name
  • identifier
  • URI
  • icon
  • select 'Display'
CAD 47.png
As you can see, we added two new entries under the 'Knowledgebase' widget.

Surely, you can edit each one of them or delete.

CAD 48.png
Here is a final view of our customized client area with new elements:
CAD 49.png

[edit] 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'.

CAD 50.png
Press the button with pencil icon next to the location you are interested in editing.
CAD 51.png
There you can edit the name of existing location and its URI.
CAD 52.png

[edit] 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.

CAD 53.png
Provide a location name and URI.

When ready, your new location will be from now on used by Client Area Designer module.

CAD 54.png

[edit] 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.

CAD 59.png
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.
CAD 60.png

[edit] Documentation

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

[edit] Smarty Tags

Starting with the 1.1.0 version, the module allows you to use Smarty 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><br/><br/>
You still have <b>${$client.credit}</b> funds on your account.<br/>
Find out what you can do with them!
<br/>
CAD 57.png
The result will be as follows:
CAD 58.png
You can, of course, use the full scope of Smarty tags, such as conditional instructions:
Hello <b>{$client.firstname} {$client.lastname}!</b><br/><br/>
{if $client.credit gt 0}
You still have <b>${$client.credit}</b> funds on your account. <br/>
Find out what you can do with them!<br/>
{else}Sorry you have no funds!<br/>
{/if}

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

CAD 58 2.png
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.

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.

CAD 56.png
For example, you can list all of the template variables using:
<pre>{php}print_r($template->getTemplateVars());{/php}

[edit] 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.

[edit] 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.

[edit] 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 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.

[edit] 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.
Navigation
WHMCS Modules
WHMCS Widgets
Translations
cPanel Modules
General
FAQ
Community
Client Area Designer For WHMCS