User tests: Successful: Unsuccessful:
Pull Request resolves: I could not find a Pull Request but this feature has floated around for a long time.
What this feature does is add the option to recreate administrator menu items for selected installed components from the Extensions: Manage page.
I alpha-sorted the language strings and this sorted more than just my new strings.
Actions dropdown becomes activeRecreate MenuTry also to Recreate Menu for non-component extensions, that should give you an error message.
Try also to Recreate Menu for multiple components
It was impossible to fix/restore administrator menus from the backend. A user has to uninstall the extension and re-install the extension.
Users have the option to fix/recreate the administrator menu without having to reinstall the extension.
Please select:
[] Documentation link for guide.joomla.org:
No documentation changes for guide.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
I am unsure where the documentation should go. I don't think that manual.joomla.org is the place since this PR isn't a developer focused pull request. However on the guide.joomla.org I don't see a relevant place either. Happy to provide the documentation if someone can tell me where.
| Status | New | ⇒ | Pending |
| Category | ⇒ | Administration com_installer Language & Strings |
No idea how you ever get into the situation where you would need to rebuild the admin menu.
To test it I manually removed some entries for akeeba backup in the #__menus table and the recreate option did rebuild them.
However If you are using a custom admin menu then the recreate option will tell you it has been successful but nothing is changed in the admin menu
Also you can chose a component such as com_ajax which does not have an admin menu item and this feature will tell you it has successfully created a menu - it hasnt
Other core components such as com_content do not have an entry in the #__menus table so I dont know how they can ever not have a menu item (unless its a custom admin menu) and the rebuild will tell you it has recreated the menus when it hasnt done anything at all
I have tested this item 🔴 unsuccessfully on fdd2139
I have tested this item 🔴 unsuccessfully on fdd2139
off topic but as explanation
I alpha-sorted the language strings and this sorted more than just my new strings.
The problem comes from a historic difference of opinion on if _ is at the beginning of the alphabet or at the end
| Status | Pending | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-08-14 17:51:08 |
| Closed_By | ⇒ | roland-d | |
| Labels |
Added:
Language Change
PR-6.2-dev
|
||
No idea how you ever get into the situation where you would need to rebuild the admin menu.
I have seen cases where menu items were missing, not sure how they went missing. Perhaps a bad install but if reinstalling the extension is enough than this PR is obsolete.
However If you are using a custom admin menu then the recreate option will tell you it has been successful but nothing is changed in the admin menu
Fair enough, the code is only using main, so indeed custom admin menus are not picked up.
Other core components such as com_content do not have an entry in the #__menus table so I dont know how they can ever not have a menu item (unless its a custom admin menu) and the rebuild will tell you it has recreated the menus when it hasnt done anything at all
In general I was thinking more about the 3rd party extensions because you never really install core components. However since the code is lacking and just installing the extension should fix it as well let's close this.
Thank you for your input.
I believe the PHPStan errors are incorrect. They cannot replaced at the moment as far as I know. One out of the three errors are not even related to my changes.