mage2kishan / module-admin-menu-manager
Customises the Magento 2 backend menu — hide, rename, re-icon, recolor, reorder and reparent any item, grouped into named 'views' you can flip between with one click. Includes an optional drilldown rendering style that adds a back button + search box to crowded L0 panels. Admin-only, no storefront i
Package info
github.com/mage2sk/module-admin-menu-manager
Type:magento2-module
pkg:composer/mage2kishan/module-admin-menu-manager
Requires
- php: ~8.1.0||~8.2.0||~8.3.0||~8.4.0
- mage2kishan/module-core: ^1.0
- magento/framework: ^103.0
- magento/module-backend: ^102.0
- magento/module-config: ^101.2
README
Magento 2 Admin Menu Manager: Hide, Rename, Reorder and Recolor Backend Menu Items (Hyva + Luma)
Take control of the Magento 2 backend menu. Hide what your team never uses, rename items to match your vocabulary, reorder, recolor, and move items under different parents. Save multiple named views and switch between them with one click.
Product page: kishansavaliya.com/magento-2-admin-menu-manager.html
Quick Answer
What is Panth Admin Menu Manager? It is a Magento 2 backend menu customizer that lets you hide, rename, re-icon, recolor, reorder, and reparent any admin menu item. All changes are saved as named views that any admin user can apply in one click.
What does it add to my store?
- A manager grid where you can edit every backend menu item in one place.
- Named views so you can keep a merchandiser view, a support view, and a developer view and switch between them instantly.
- A per-user preference so each admin can apply their own view without affecting anyone else.
- An optional drilldown panel with click-to-open, full-viewport chrome, in-panel search, and a back button for crowded menus.
Which themes are supported? This module is admin-only and has no storefront impact. It works with any storefront theme including Hyva and Luma.
What does it need? Magento 2.4.4 to 2.4.8, PHP 8.1 to 8.4, and the free mage2kishan/module-core package.
Need Custom Magento 2 Development?
Get a free quote for your project in 24 hours for custom modules, Hyva themes, performance work, M1 to M2 migrations, and Adobe Commerce Cloud.
Visit our website: kishansavaliya.com | Get a quote: kishansavaliya.com/get-quote
Table of Contents
- Who Is It For
- Key Features
- Screenshots
- Compatibility
- Installation
- Configuration
- How It Works
- FAQ
- Support
- About Panth Infotech
- Quick Links
Who Is It For
- Stores with many extensions where the backend menu has grown past 30 items and finding the right page takes longer than it should.
- Teams with multiple roles where a merchandiser does not need System settings, a support agent does not need developer tools, and a developer wants everything visible with shorter labels.
- Merchants who speak differently than Magento's default vocabulary and want "Products" instead of "Catalog", "Members" instead of "Customers", or "Settings" instead of "Stores".
- Admins who keep several pages open at once and want specific menu items to always open in a new tab.
- Any store that wants a cleaner, faster admin without forking core files.
Key Features
Per-Item Overrides
- Hide any menu item: disable it so it disappears from the menu entirely. The item stays visible in the grid with a strikethrough so you can undo it at any time.
- Rename: set a custom label. Leave the field blank to fall back to the stock label.
- Re-icon: paste a Bootstrap Icons class (
bi-gear,bi-house), any Unicode emoji, or aurl(...)pointing to a custom SVG or PNG. - Recolor: enter a hex value to add a thin colored left stripe that makes the item stand out at a glance.
- Reparent: move any item under a different parent to group related extensions under a single header.
- Reorder: set a numeric sort order so the items you use most float to the top.
Named Views
- Multiple presets: create as many views as you need, one for merchandisers, one for support, one for developers.
- Apply for me: switches the active view for the current admin user only, stored as a per-user preference in
panth_admin_menu_user_pref. Other admins are not affected. - Set as system default: makes a view the fallback for every admin who has not picked their own.
- New / Rename / Duplicate / Delete: full management from the same toolbar. The Default view cannot be deleted.
Drilldown Panel (Opt-in)
- Click-to-open instead of hover, so the wrong panel stops opening when you move the mouse across the rail.
- Full viewport height panel with Magento's
#4a4542background color, matching the stock admin palette exactly. - In-panel search that filters items by label or ID. Matching items keep their parent expanded with a breadcrumb subtitle so identical leaf names stay distinguishable.
- Back button to drill into a sub-section and return to the parent without closing the panel.
- Esc closes the panel. Click outside also closes it.
- Per-L0 opt-in: choose which top-level menus get drilldown. Unselected menus keep Magento's default hover behavior. All
Panth_*L0 menus are always included.
Open in New Tab
- Add menu item IDs (one per line) to the configuration field.
- Matching links inside the drilldown panel get
target="_blank",rel="noopener", an updated title, and a small external-link icon next to the label. - Useful for items you want open beside your current page, such as Cache Management or Admin Menu Manager itself.
Self-Protection
- The module never lets you hide the Admin Menu Manager grid, the Stores menu, Stores Settings, or the Configuration page.
- Even if a backup import accidentally disables these items, the protection is hard-coded so you can always navigate to the manager and undo.
Hyva + Luma Compatible (Admin Side)
- The module is admin-only. It has no storefront files and does not touch category trees, navigation blocks, or any frontend theme.
- Works with Hyva storefronts, Luma storefronts, and Adobe Commerce Cloud.
Built to Last
- Clean, MEQP-style code with constructor dependency injection only.
- No fork of core templates -- the plugin runs
afterGetResultonMagento\Backend\Model\Menu\Builderso every futuresetup:upgradeis safe. - Translation ready -- every label uses Magento's
__()function.
Screenshots
Manager grid
| Manager grid (default view) | Manager grid with overrides applied |
|---|---|
![]() |
![]() |
The toolbar above the grid lets you Apply for me, Set as system default, create a New view, Rename, Duplicate, or Delete. The grid shows every item in Magento's compiled menu tree. Edit the label, icon, parent, sort order, and enabled toggle inline. Reset on any row removes only that row's override.
Drilldown panel
| Click-to-open L0 panel | Drilled into a sub-section |
|---|---|
![]() |
![]() |
The drilldown panel fills the full viewport height. The in-panel search filters by label or ID. The back button returns to the parent level.
Full workflow demo
Compatibility
| Requirement | Versions Supported |
|---|---|
| Magento Open Source | 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8 |
| Adobe Commerce | 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8 |
| Adobe Commerce Cloud | 2.4.4 to 2.4.8 |
| PHP | 8.1.x, 8.2.x, 8.3.x, 8.4.x |
| Storefront theme | Any (Hyva, Luma, custom) -- admin-only module |
| Required dependency | mage2kishan/module-core (free) |
Installation
Composer Installation (Recommended)
composer require mage2kishan/module-admin-menu-manager bin/magento module:enable Panth_Core Panth_AdminMenuManager bin/magento setup:upgrade bin/magento setup:di:compile bin/magento setup:static-content:deploy -f bin/magento cache:flush
Manual Installation via ZIP
- Download the latest release from Packagist or from the product page.
- Extract it to
app/code/Panth/AdminMenuManager/in your Magento install. - Make sure
Panth_Coreis installed too (required dependency). - Run the commands above starting from
bin/magento module:enable.
The SeedDefaultView data patch creates the Default view automatically so the manager grid is never empty on first load.
Verify Installation
bin/magento module:status Panth_AdminMenuManager
# Expected: Module is enabled
After install, open:
Admin -> Stores -> Settings -> Admin Menu Manager
or
Admin -> Panth Infotech -> Admin Menu Manager -> Manager
Configuration
Go to Stores -> Configuration -> Panth -> Admin Menu Manager.
| Setting | Group | Default | Description |
|---|---|---|---|
| Menu manager | General | n/a | Quick-jump button to the manager grid. |
| Enable drill-down | General | Yes | Master switch. When off, every admin menu uses Magento's default hover behavior. |
| Apply to top-level menus | General | (empty + Panth always-on) | Multiselect of L0 menus to apply the drilldown panel to. Unselected menus keep Magento's default hover behavior. All Panth_* menus are always included. Visible only when Enable drill-down is Yes. |
| Open in a new tab -- Menu IDs | General | (empty) | One menu item ID per line. Matching items inside the drilldown panel open in a new browser tab and get an external-link icon. Visible only when Enable drill-down is Yes. |
Menu item overrides (hide, rename, re-icon, recolor, reorder, reparent) are managed through the manager grid, not through this configuration screen.
How It Works
- Magento compiles its backend menu tree via
Magento\Backend\Model\Menu\Builder::getResult(). - The module's
MenuBuilderPluginrunsafterGetResultand loads the active view's overrides from the database. - The active view is the per-user preference (from
panth_admin_menu_user_pref) if one exists, otherwise the system default view. - The plugin applies overrides in three passes: first labels, icons, colors, and disabled flags; then parent moves; then sort order re-indexing.
- The mutated menu tree is returned to Magento and rendered as normal.
- The drilldown JS layer subscribes to Magento's existing
_show/_hideclass changes viaMutationObserver, so it does not replace the core navigation block.
Two database tables store the manager data:
panth_admin_menu_view-- one row per named view (label, is_active, is_default, timestamps).panth_admin_menu_override-- one row per overridden menu item (view_id, menu_item_id, is_disabled, custom_label, custom_icon, custom_color, custom_parent_menu_item_id, sort_order, timestamps).panth_admin_menu_user_pref-- one row per admin user recording their chosen active view.
The override rows survive every setup:upgrade because they live in their own tables, not in generated code or XML.
FAQ
Does this module change the storefront navigation?
No. The plugin only hooks into Magento\Backend\Model\Menu\Builder, which is a backend-only class. Your category tree, mega menu, and any frontend navigation block are completely untouched.
Can different admin users see different menus?
Yes. The Apply for me button writes a per-user preference to panth_admin_menu_user_pref. The plugin reads that preference and uses it for that user's session. Other admins keep their own view.
Will my overrides survive setup:upgrade?
Yes. The override rows are stored in panth_admin_menu_view and panth_admin_menu_override, which are plain database tables. setup:upgrade does not touch them.
Can I export views to deploy to staging or production?
Yes. panth_admin_menu_view, panth_admin_menu_override, and panth_admin_menu_user_pref are plain DB tables. Dump them with mysqldump --no-create-info and import on the target. The next admin page load picks up the views.
Does the drilldown panel work with Hyva storefronts?
Yes. The drilldown is admin-only and the storefront theme is not relevant. Any storefront including Hyva works fine.
Will it conflict with other modules that add admin menu items?
The plugin runs afterGetResult so it sees every other module's menu items after they have been compiled. It applies overrides on top of whatever the compiled tree contains. As long as other modules emit standard Magento\Backend\Model\Menu\Item rows, the overrides apply cleanly.
Why does the new menu not appear after I click Save?
Magento's backend menu is cached. The module flushes the menu cache automatically on save, but the tab you already have open still shows the old DOM. Refresh the admin tab or click any menu item and the new layout appears.
Is it translation ready?
Yes. Every label uses Magento's __() function, so you can translate it from a language pack.
Does it need Panth Core?
Yes. mage2kishan/module-core is a free, required dependency that Composer installs for you automatically.
Support
| Channel | Contact |
|---|---|
| Product Page | kishansavaliya.com/magento-2-admin-menu-manager.html |
| kishansavaliyakb@gmail.com | |
| Website | kishansavaliya.com |
| +91 84012 70422 | |
| GitHub Issues | github.com/mage2sk/module-admin-menu-manager/issues |
| Upwork (Top Rated Plus) | Hire Kishan Savaliya |
| Upwork Agency | Panth Infotech |
Response time: 1-2 business days.
Need Custom Magento Development?
Looking for custom Magento module development, Hyva theme work, store migrations, or performance tuning? Get a free quote in 24 hours:
About Panth Infotech
Built and maintained by Kishan Savaliya (kishansavaliya.com), a Top Rated Plus Magento developer on Upwork with 10+ years of eCommerce experience.
Panth Infotech is a Magento 2 development agency that builds high quality, security focused extensions and themes for both Hyva and Luma storefronts. The extension suite covers SEO, performance, checkout, product presentation, customer engagement, and store management, with each module built to MEQP standards and tested across Magento 2.4.4 to 2.4.8.
Browse the full extension catalog on our Magento extensions page or on Packagist.
Quick Links
| Resource | Link |
|---|---|
| Product Page | magento-2-admin-menu-manager.html |
| Packagist | mage2kishan/module-admin-menu-manager |
| GitHub | mage2sk/module-admin-menu-manager |
| Website | kishansavaliya.com |
| Free Quote | kishansavaliya.com/get-quote |
| Upwork (Top Rated Plus) | Hire Kishan Savaliya |
| Upwork Agency | Panth Infotech |
| kishansavaliyakb@gmail.com | |
| +91 84012 70422 |
Ready to clean up your Magento backend?
SEO Keywords: magento 2 admin menu manager, magento 2 backend menu customizer, magento 2 hide admin menu, magento 2 hide admin menu items, magento 2 rename admin menu, magento 2 admin menu reorder, magento 2 admin menu icon, magento 2 admin menu color, magento 2 drilldown menu, magento 2 admin navigation customizer, magento 2 admin menu extension, magento 2 admin menu module, magento 2 backend menu hide items, magento 2 backend menu rename, magento 2 admin user role menu, magento 2 admin menu views, magento 2 admin menu presets, magento 2 drilldown panel, magento 2 admin menu search, magento 2 click to open menu, magento 2.4.8 admin menu, php 8.4 admin menu, mage2kishan admin menu manager, panth admin menu manager, panth infotech, hire magento developer, top rated plus upwork, kishan savaliya magento, custom magento development




