fix: menu icons use FA6 for unmapped classes, query all MokoWaaS submenu items
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Platform: moko-platform CI / Gate 1: Code Quality (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.1) (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.2) (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.3) (push) Has been cancelled
Platform: moko-platform CI / Gate 3: Self-Health Check (push) Has been cancelled
Platform: moko-platform CI / Gate 4: Governance (push) Has been cancelled
Platform: moko-platform CI / Gate 5: Template Integrity (push) Has been cancelled
Platform: moko-platform CI / CI Summary (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Generic: Repo Health / Report Issues (push) Has been cancelled
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Platform: moko-platform CI / Gate 1: Code Quality (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.1) (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.2) (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.3) (push) Has been cancelled
Platform: moko-platform CI / Gate 3: Self-Health Check (push) Has been cancelled
Platform: moko-platform CI / Gate 4: Governance (push) Has been cancelled
Platform: moko-platform CI / Gate 5: Template Integrity (push) Has been cancelled
Platform: moko-platform CI / CI Summary (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Generic: Repo Health / Report Issues (push) Has been cancelled
- Helpdesk: fa-solid fa-handshake-angle (was icon-headphones, unmapped) - .htaccess: fa-solid fa-file-code (was icon-file-code, unmapped) - Query now finds ALL submenu items under the MokoWaaS parent menu, including those linking to com_plugins, com_installer, com_checkin, com_cache Authored-by: Moko Consulting Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
+10
-5
@@ -980,8 +980,8 @@ class Pkg_MokowaasInstallerScript
|
||||
$iconMap = [
|
||||
'class:cogs' => 'icon-cogs',
|
||||
'class:puzzle-piece' => 'icon-puzzle-piece',
|
||||
'class:headphones' => 'icon-headphones',
|
||||
'class:file-code' => 'icon-file-code',
|
||||
'class:headphones' => 'fa-solid fa-handshake-angle',
|
||||
'class:file-code' => 'fa-solid fa-file-code',
|
||||
'class:lock' => 'icon-lock',
|
||||
'class:shield-alt' => 'icon-shield-alt',
|
||||
'class:database' => 'icon-database',
|
||||
@@ -992,10 +992,15 @@ class Pkg_MokowaasInstallerScript
|
||||
'class:bolt' => 'icon-bolt',
|
||||
];
|
||||
|
||||
// Find all MokoWaaS component submenu items (including those linking to other components)
|
||||
$db->setQuery(
|
||||
"SELECT id, img, params FROM #__menu"
|
||||
. " WHERE client_id = 1 AND level >= 2"
|
||||
. " AND link LIKE '%com_mokowaas%'"
|
||||
$db->getQuery(true)
|
||||
->select(['m.id', 'm.img', 'm.params'])
|
||||
->from($db->quoteName('#__menu', 'm'))
|
||||
->where('m.client_id = 1')
|
||||
->where('m.level >= 2')
|
||||
->where('m.parent_id IN (SELECT id FROM ' . $db->quoteName('#__menu')
|
||||
. ' WHERE client_id = 1 AND level = 1 AND link LIKE ' . $db->quote('%com_mokowaas%') . ')')
|
||||
);
|
||||
|
||||
foreach ($db->loadObjectList() as $item)
|
||||
|
||||
Reference in New Issue
Block a user