Enhancement: Deprecated Sidebar API usage #103

Open
opened 2026-05-29 05:30:34 +00:00 by jmiller · 1 comment
Owner

Audit Finding L-2

Severity: Low

Issue:
MokoJoomCrossHelper::addSubmenu() uses \Joomla\CMS\HTML\Sidebar::addEntry() and ::render() which are deprecated in Joomla 5. This produces PHP deprecation notices and may not render in Joomla 6.

Fix: Replace with toolbar submenu buttons or the Joomla 5 SubMenuHelper pattern.

Files: MokoJoomCrossHelper.php, Dashboard/HtmlView.php

Label: priority: low, type: enhancement

## Audit Finding L-2 **Severity:** Low **Issue:** `MokoJoomCrossHelper::addSubmenu()` uses `\Joomla\CMS\HTML\Sidebar::addEntry()` and `::render()` which are deprecated in Joomla 5. This produces PHP deprecation notices and may not render in Joomla 6. **Fix:** Replace with toolbar submenu buttons or the Joomla 5 `SubMenuHelper` pattern. **Files:** `MokoJoomCrossHelper.php`, `Dashboard/HtmlView.php` **Label:** `priority: low`, `type: enhancement`
Author
Owner

Branch created: feature/103-enhancement-deprecated-sidebar-api-usage

git fetch origin
git checkout feature/103-enhancement-deprecated-sidebar-api-usage
Branch created: [`feature/103-enhancement-deprecated-sidebar-api-usage`](https://git.mokoconsulting.tech/MokoConsulting/MokoJoomCross/src/branch/feature/103-enhancement-deprecated-sidebar-api-usage) ```bash git fetch origin git checkout feature/103-enhancement-deprecated-sidebar-api-usage ```
Sign in to join this conversation.
Type Enhancement
Status
Priority
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoJoomCross#103