feat: Joomla CPanel module — backup now buttons on admin dashboard #105

Closed
opened 2026-06-23 15:50:12 +00:00 by jmiller · 0 comments
Owner

Summary

Add a Joomla admin dashboard (CPanel) module that shows backup status and quick-action buttons directly on the Joomla Home Dashboard, without navigating to the MokoSuiteBackup component.

Features

  • Backup Now button per published profile (dropdown or individual buttons)
  • Last backup status with date, size, and success/fail badge
  • Quick links: View Backups, Create Snapshot, View Profiles
  • Next scheduled backup info

Implementation

This requires a new admin module (mod_mokosuitebackup_cpanel) that:

  • Registers as a cpanel/dashboard module type
  • Queries BackupStatusHelper::getStatusSummary() for status data
  • Renders compact cards with action buttons
  • Uses AJAX for the Backup Now action (reuse stepped backup flow)

Alternatively, enhance the existing plg_quickicon_mokosuitebackup to include more actions beyond just the status icon.

Joomla CPanel Integration

Joomla 4/5/6 admin dashboard uses com_cpanel with module positions:

  • cpanel — main dashboard area
  • icon — quick icon area (already used by our quickicon plugin)

A dedicated cpanel module gives more control than quickicons.

Files

  • New package: mod_mokosuitebackup_cpanel/ (admin module)
  • tmpl/default.php — compact dashboard card
  • src/Helper/CpanelHelper.php — data queries
  • Update pkg_mokosuitebackup.xml to include the new module
## Summary Add a Joomla admin dashboard (CPanel) module that shows backup status and quick-action buttons directly on the Joomla Home Dashboard, without navigating to the MokoSuiteBackup component. ## Features - **Backup Now** button per published profile (dropdown or individual buttons) - **Last backup** status with date, size, and success/fail badge - **Quick links**: View Backups, Create Snapshot, View Profiles - **Next scheduled** backup info ## Implementation This requires a new **admin module** (`mod_mokosuitebackup_cpanel`) that: - Registers as a cpanel/dashboard module type - Queries `BackupStatusHelper::getStatusSummary()` for status data - Renders compact cards with action buttons - Uses AJAX for the Backup Now action (reuse stepped backup flow) Alternatively, enhance the existing `plg_quickicon_mokosuitebackup` to include more actions beyond just the status icon. ## Joomla CPanel Integration Joomla 4/5/6 admin dashboard uses `com_cpanel` with module positions: - `cpanel` — main dashboard area - `icon` — quick icon area (already used by our quickicon plugin) A dedicated cpanel module gives more control than quickicons. ## Files - New package: `mod_mokosuitebackup_cpanel/` (admin module) - `tmpl/default.php` — compact dashboard card - `src/Helper/CpanelHelper.php` — data queries - Update `pkg_mokosuitebackup.xml` to include the new module
jmiller added the component: admin label 2026-06-23 15:50:12 +00:00
Sign in to join this conversation.
Priority Medium
Type Feature
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoSuiteBackup#105