Difference between revisions of "Admin Dashboard"

From WHMCS Documentation

(Default Widgets)
(Widget Reference)
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Widgets are a feature of WHMCS Version 5.0 & later that are the building blocks of the admin homepage.  They are open-source, movable blocks, which can be granted access to on a per admin role basis depending upon the permissions belonging to that role, allowing administrators to customise exactly what each staff group get to see, and staff to tailor their dashboard to their exact needs.
+
Each member of staff can personalise their admin dashboard view by minimising or hiding widgets, as well as rearranging via drag-and-drop (available in WHMCS 7.7 and later).
  
''Looking for a way to get product/domain info & pricing on your site? The functionality for doing that previously referred to as widgets has now been renamed to [[Data Feeds]]''
+
You will see the '''Admin Dashboard''' after you log in to the WHMCS [[Admin Area]].
  
==Default Widgets==
+
[[File:82Dashboard.png|600px|thumb|The Admin Area Dashboard]]
  
WHMCS currently includes the following widgets as standard. But widgets can easily be created by hook and addon module developers and so it's more than likely you will have many more available to you in your installation than this:
+
== Dashboard Widgets ==
 +
 
 +
Widgets are the building blocks of the WHMCS Admin Dashboard. WHMCS includes a variety of dashboard widgets by default, which we design to give you an overview of activity and events occuring within your WHMCS installation.
 +
 
 +
<div class="docs-alert-info"><i class="fa fa-info-circle"></i> Looking for Site Widgets? The functionality that we previously referred to as site widgets is now [[Data Feeds]]. Data feeds allow you to fetch product and domain information for inclusion on custom site pages.</div>
 +
 
 +
== Managing Widgets ==
 +
 
 +
To move a dashboard widget, hover over the widget title. A cross-hair will appear. Click and hold to drag and reposition the widget. The system will display a target area where the widget will drop. Release the mouse to save the new position.
 +
 
 +
The system stores widget position preferences to your admin profile. Because of this, they will persist between admin login sessions and across all devices that you use to log in to WHMCS.
 +
 
 +
<div class="docs-alert-warning">
 +
Due to differing widget sizes and the grid system layout, when moving a widget or reloading the page, other widgets may move automatically or reorder themselves to ensure optimum display. If you experience any overlapping of widgets, simply refresh the page.
 +
</div>
 +
 
 +
=== Widget Controls ===
 +
 
 +
At the top right of each widget are the widget controls.  These controls allow an admin user to customise their dashboard.  The available actions include:
 +
 
 +
* '''Refresh''' — Refreshes the content of the widget. For performance reasons, many of the widgets cache their data for a period of time.
 +
* '''Minimise''' — Minimises the widget. You can expand the minimised widget again later.
 +
* '''Close''' — Closes the widget. This removes the widget from the dashboard for the current admin user. You must add it to the dashboard again to reopen it.
 +
 
 +
[[File:82WidgetList.png|300px|thumb]]
 +
 
 +
=== Showing/Hiding Widgets ===
 +
 
 +
You can manage widgets on the admin dashboard via the '''Show/Hide Widgets''' panel.
 +
 
 +
To open the panel, click the gear icon at the top-right of the dashboard.
 +
 
 +
Widgets with a check next to them are enabled and the system will render them on the dashboard. To remove a widget, uncheck the box next to its name. To add a previously removed widget, check the box next to its name. The dashboard will immediately update when you enable or disable a widget.
 +
 
 +
== Permissions ==
 +
 
 +
Widgets use the administrator role access control permissions system and therefore the widgets a user can see and has access to will match the user's permissions in the system.
 +
 
 +
For example, the Support Tickets widget will only show to a user with access to view and respond to support tickets.
 +
 
 +
<div class="docs-alert-warning">
 +
Some older widgets do not leverage the access control permissions. You can control access to these individually via [[Administrator Roles]].
 +
</div>
 +
 
 +
== Widget Reference ==
 +
 
 +
The following table itemises all widgets that WHMCS includes by default and their required permissions:
  
 
<table class="table table-bordered">
 
<table class="table table-bordered">
Line 15: Line 61:
 
<tr>
 
<tr>
 
<td>Activity</td>
 
<td>Activity</td>
<td>Recent system activity to keep you up to date with what's happening</td>
+
<td>Recent system activity to keep you up to date with what's happening.</td>
 
<td>View Activity Log</td>
 
<td>View Activity Log</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>Automation</td>
 
<td>Automation</td>
<td>An overview of system automation. Click a miniature graph to see a the full version on the [[Automation_Status|Automation Status]] page</td>
+
<td>An overview of system automation. Click a miniature graph to see a the full version on the [[Automation_Status|Automation Status]] page.</td>
 
<td>Configure Automation Settings</td>
 
<td>Configure Automation Settings</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>Billing</td>
 
<td>Billing</td>
<td>An overview of income over four periods; daily, monthly, yearly and all time</td>
+
<td>An overview of income over four periods: daily, monthly, yearly and all time.</td>
 
<td>View Income Totals</td>
 
<td>View Income Totals</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>Client Activity</td>
 
<td>Client Activity</td>
<td>A brief overview of the last 5 client logins, including dates/times & IP addresses</td>
+
<td>A brief overview of the last five client logins, including dates, times, and IP addresses.</td>
 
<td>List Clients</td>
 
<td>List Clients</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>Health</td>
 
<td>Health</td>
<td>An overview of System Health, links through tot he main [[System_Health_Status|System Health Status]] page</td>
+
<td>An overview of System Health and links through the main [[System_Health_Status|System Health Status]] page.</td>
 
<td>Health and Updates</td>
 
<td>Health and Updates</td>
 
</tr>
 
</tr>
 +
<td>MarketConnect</td>
 +
<td>Provides details of the selling status of MarketConnect products with your current points balance and options to deposit funds and view promotions.</td>
 +
<td>View MarketConnect Balance</td>
 +
</tr>
 +
<tr>
 
<tr>
 
<tr>
 
<td>Network Status</td>
 
<td>Network Status</td>
<td>Listing your servers and allowing you to check the status (if [[Servers#Status_Monitoring|status url monitoring]] has been implemented)</td>
+
<td>Listing your servers and allowing you to check the status (if the system has implemented [[Servers#Status_Monitoring|status URL monitoring]]).</td>
 
<td>None</td>
 
<td>None</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>System Overview</td>
 
<td>System Overview</td>
<td>An overview of orders and income in graphical format. The timescale can be changed to show daily, monthly or yearly</td>
+
<td>An overview of orders and income in graphical format. You can change the timescale to show daily, monthly, or yearly orders and income.</td>
 
<td>View Income Totals</td>
 
<td>View Income Totals</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>System Overview Badges</td>
 
<td>System Overview Badges</td>
<td>Displayed at the top of the page, the colourful badges provide a quick statistical overview including orders, cancellation, and tickets</td>
+
<td>The colourful badges at the top of the page provide a quick statistical overview including orders, cancellation, and tickets.</td>
 
<td>None</td>
 
<td>None</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>Staff Online</td>
 
<td>Staff Online</td>
<td>Shows currently logged in staff. If the staff member's email address corresponds with a [https://gravatar.com/ Gravatar] account, the Gravatar image will be used.</td>
+
<td>Shows currently-logged-in staff. If the staff member's email address corresponds with a [https://gravatar.com/ Gravatar] account, the system will display the Gravatar image.</td>
 
<td>None</td>
 
<td>None</td>
 +
</tr>
 +
<tr>
 +
<td>Stripe Balance</td>
 +
<td>Displays the pending and available balances for the Stripe payment gateway.</td>
 +
<td>View Gateway Balances</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>Support</td>
 
<td>Support</td>
<td>An overview of support awaiting reply tickets, tickets assigned to your account and tickets with recent activity</td>
+
<td>An overview of support tickets that are awaiting replies, tickets that you assigned to your account, and tickets with recent activity.</td>
 
<td>List Support Tickets</td>
 
<td>List Support Tickets</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>To-Do List</td>
 
<td>To-Do List</td>
<td>An overview of support awaiting reply tickets, tickets assigned to your account and tickets with recent activity</td>
+
<td>An overview of support tickets that are awaiting replies, tickets that you assigned to your account, and tickets with recent activity.</td>
 
<td>To-Do List</td>
 
<td>To-Do List</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
  
==Managing Widgets==
+
== Creating Widgets ==
 
 
Each member of staff can have their own personalised admin homepage layout. The widgets are arranged in 3 columns, of unlimited depth.
 
 
 
Widgets can also be minimised or maximised, so that even if a widget is enabled for a particular role group, if an admin doesn't want or need to see it, then they can simply minimise it and move it to the bottom of the screen out of the way.
 
 
 
To do this simply click the "-" icon located to the far right of the title bar for a widget.  When minimised where the "-" icon was before, it will now display a "+" icon allowing for the widget to be opened again if needed.
 
 
 
==Granting/Restricting Access to Widgets==
 
 
 
Access to Widgets is defined on a per admin role group basis.  So for example all your Support staff might have access to the Network Status page, and can therefore see the Network Status widget on the dashboard . Whereas your Sales staff may not require this permission so would not see the widget either.
 
 
 
To get started, begin by navigating to '''Setup > Administrator Roles''' and then click the edit icon next to the admin role group you want to change.
 
  
===Legacy Widgets===
+
Addon and third party module developers can also include dashboard widgets as part of a custom module. For information on creating your own widgets, see our [https://developers.whmcs.com/addon-modules/admin-dashboard-widgets/ Developer Documentation].
  
Widgets designed for WHMCS 5.x to 7.0 can be used in version 7.1.
+
== Troubleshooting ==
  
Once on the permissions page, simply scroll down to the section labelled '''Widgets''' and from there you'll be able to enable/disable the Widgets accessible to that group by checking or unchecking the boxes.
+
=== Oops Error ===
  
When a new widget is first installed into the system, the first thing you will always need to do before you can see & use it is navigate to your admin role group setup area as described above and enable it. Once enabled, you can then navigate back to your homepage and the new widget will appear as the top widget on your dashboard which you can move around and adjust as desired.
+
An Oops Error Message is shown when viewing the Dashboard.
 +
This can be caused by an incompatible widget. Please follow our guide on blank/oops pages to obtain the full error - https://help.whmcs.com/m/troubleshooting/l/678235-troubleshooting-a-blank-page-oops-error-message.
 +
The error will reference the widget that is causing the failure. Once you know the affected widget you can remove the files from '''/modules/widgets/''' or obtain an updated version of from the developer.
  
==Creating/Editing Widgets==
+
=== Blank Dashboard After Update ===
  
All the widgets included in WHMCS by default are open source and fully customisable. You can find & edit the files that control them in the '''/modules/widgets/''' folder.
+
If none of the admin dashboard widgets are loading following an update of WHMCS, then the problem most likely lies in the table collation values.
  
Or if you are a developer and want to create a widget to extend your existing Server/Provisioning/Registrars/Addon Module, or if you are a user who simply wants to create a custom widget for your own purposes, visit the [[Creating a Widget]] page to find out how.
+
For more information, see [https://help.whmcs.com/m/updating/l/1040457-troubleshooting-a-blank-admin-dashboard-after-update Troubleshooting a Blank Admin Dashboard After Update].

Latest revision as of 09:15, 20 September 2023

Each member of staff can personalise their admin dashboard view by minimising or hiding widgets, as well as rearranging via drag-and-drop (available in WHMCS 7.7 and later).

You will see the Admin Dashboard after you log in to the WHMCS Admin Area.

The Admin Area Dashboard

Dashboard Widgets

Widgets are the building blocks of the WHMCS Admin Dashboard. WHMCS includes a variety of dashboard widgets by default, which we design to give you an overview of activity and events occuring within your WHMCS installation.

Looking for Site Widgets? The functionality that we previously referred to as site widgets is now Data Feeds. Data feeds allow you to fetch product and domain information for inclusion on custom site pages.

Managing Widgets

To move a dashboard widget, hover over the widget title. A cross-hair will appear. Click and hold to drag and reposition the widget. The system will display a target area where the widget will drop. Release the mouse to save the new position.

The system stores widget position preferences to your admin profile. Because of this, they will persist between admin login sessions and across all devices that you use to log in to WHMCS.

Due to differing widget sizes and the grid system layout, when moving a widget or reloading the page, other widgets may move automatically or reorder themselves to ensure optimum display. If you experience any overlapping of widgets, simply refresh the page.

Widget Controls

At the top right of each widget are the widget controls. These controls allow an admin user to customise their dashboard. The available actions include:

  • Refresh — Refreshes the content of the widget. For performance reasons, many of the widgets cache their data for a period of time.
  • Minimise — Minimises the widget. You can expand the minimised widget again later.
  • Close — Closes the widget. This removes the widget from the dashboard for the current admin user. You must add it to the dashboard again to reopen it.
82WidgetList.png

Showing/Hiding Widgets

You can manage widgets on the admin dashboard via the Show/Hide Widgets panel.

To open the panel, click the gear icon at the top-right of the dashboard.

Widgets with a check next to them are enabled and the system will render them on the dashboard. To remove a widget, uncheck the box next to its name. To add a previously removed widget, check the box next to its name. The dashboard will immediately update when you enable or disable a widget.

Permissions

Widgets use the administrator role access control permissions system and therefore the widgets a user can see and has access to will match the user's permissions in the system.

For example, the Support Tickets widget will only show to a user with access to view and respond to support tickets.

Some older widgets do not leverage the access control permissions. You can control access to these individually via Administrator Roles.

Widget Reference

The following table itemises all widgets that WHMCS includes by default and their required permissions:

</tr>

Name Description Required Permission
Activity Recent system activity to keep you up to date with what's happening. View Activity Log
Automation An overview of system automation. Click a miniature graph to see a the full version on the Automation Status page. Configure Automation Settings
Billing An overview of income over four periods: daily, monthly, yearly and all time. View Income Totals
Client Activity A brief overview of the last five client logins, including dates, times, and IP addresses. List Clients
Health An overview of System Health and links through the main System Health Status page. Health and Updates
MarketConnect Provides details of the selling status of MarketConnect products with your current points balance and options to deposit funds and view promotions. View MarketConnect Balance
Network Status Listing your servers and allowing you to check the status (if the system has implemented status URL monitoring). None
System Overview An overview of orders and income in graphical format. You can change the timescale to show daily, monthly, or yearly orders and income. View Income Totals
System Overview Badges The colourful badges at the top of the page provide a quick statistical overview including orders, cancellation, and tickets. None
Staff Online Shows currently-logged-in staff. If the staff member's email address corresponds with a Gravatar account, the system will display the Gravatar image. None
Stripe Balance Displays the pending and available balances for the Stripe payment gateway. View Gateway Balances
Support An overview of support tickets that are awaiting replies, tickets that you assigned to your account, and tickets with recent activity. List Support Tickets
To-Do List An overview of support tickets that are awaiting replies, tickets that you assigned to your account, and tickets with recent activity. To-Do List

Creating Widgets

Addon and third party module developers can also include dashboard widgets as part of a custom module. For information on creating your own widgets, see our Developer Documentation.

Troubleshooting

Oops Error

An Oops Error Message is shown when viewing the Dashboard. This can be caused by an incompatible widget. Please follow our guide on blank/oops pages to obtain the full error - https://help.whmcs.com/m/troubleshooting/l/678235-troubleshooting-a-blank-page-oops-error-message. The error will reference the widget that is causing the failure. Once you know the affected widget you can remove the files from /modules/widgets/ or obtain an updated version of from the developer.

Blank Dashboard After Update

If none of the admin dashboard widgets are loading following an update of WHMCS, then the problem most likely lies in the table collation values.

For more information, see Troubleshooting a Blank Admin Dashboard After Update.