Custom Dashboard Widget

Status
Not open for further replies.

henryd99

New Member
Dec 20, 2021
16
0
1
27
Hi all,

Has anyone got any experience or information on creating dashboard widgets.
Ive already made custom apps, pages, etc... for my pbx instances, but would like to know If anyone has done this already.

Thanks!
 

hfoster

Active Member
Jan 28, 2019
677
80
28
34
I thought about it, but I never really had the need. Use the following examples to make your own, the app/system app is probably the simplest implementation of one. Don't forget the 'config.php' in the dashboard folder of your app, that's how the dashboard discovers them after a 'App Defaults' restore.


Code:
fusionpbx=# select dashboard_name,dashboard_path from v_dashboard;
   dashboard_name   |                       dashboard_path
--------------------+-------------------------------------------------------------
 Call Center Agents | app/call_centers/resources/dashboard/call_center_agents.php
 Call Forward       | app/call_forward/resources/dashboard/call_forward.php
 Device Keys        | app/devices/resources/dashboard/device_keys.php
 Domain Limits      | app/domain_limits/resources/dashboard/domain_limits.php
 Caller ID          | app/extensions/resources/dashboard/caller_id.php
 Ring Group Forward | app/ring_groups/resources/dashboard/ring_group_forward.php
 Switch Status      | app/switch/resources/dashboard/switch_status.php
 System Status      | app/system/resources/dashboard/system_status.php
 System CPU Status  | app/system/resources/dashboard/system_cpu_status.php
 System Counts      | app/system/resources/dashboard/system_counts.php
 New Messages       | app/voicemails/resources/dashboard/voicemails.php
 Missed Calls       | app/xml_cdr/resources/dashboard/missed_calls.php
 Recent Calls       | app/xml_cdr/resources/dashboard/recent_calls.php
(13 rows)
 
Status
Not open for further replies.