In Joomla 5 a front end side menu could be displayed with all of the sub menu items open. This was very convenient for chapter and verse of a book. In Joomla 6 that is not possible and display of the item selected open is not a solution. Here are two screenshots using the Testing Sample data from Joomla 5 and Joomla 6.
Screenshot upload not working - going to GitHub to try there!
| Labels |
Removed:
?
|
||
| Labels |
Added:
No Code Attached Yet
|
||
@ceford This behaviour in the menu was not intended. Javascript for the toggle behaviour was also delivered with the default layout in Joomla 5, but it was broken.
If you want this behaviour, simply create an override and remove the JavaScript and the toggle button added for accessibility, and you will have your menu back the way you want it.
But it makes no sense to load JS, which is broken. Sorry for fixing it. :)
After my understanding the menu open behaviour should be controlled by the menu modules start level, end level and show sub-menu attributes. It should not be necessary to add a special class nor overrides.
Does show sub-menu even have a function for the dropdown layout? I guess not.
You can test it out. Further improvements in the shape of PRs are always welcome.
I also used the dropdown of all menu's a long time and suddenly noticed that it disappeared in v6 which is not very usefull in my case.
Of course it's good that the error was solved but it would be appreciated if the functionality could be brought back in the module menu options. Somewhere I read that this would be "fixed" in v6.1.0 but I guess that was a misunderstanding.
@HenkWeltje With @HermanPeeren help, I’ve written a short guide on the Joomla! Guide explaining how to keep the sidemenu open by setting an additional class, and how you can restore the behaviour from before version 6.0 using an override in your template. I hope this helps.
https://guide.joomla.org/user-manual/menus/keep-submenus-open
Hello. The guide was indeed helpfull and the original behavior is indeed back.
Thanks a lot for helping out both of you!
However it would be nice if this behavior could be added as a mod menu option in a future joomla version.
Kind regards,
Henk
Thanks. As mentioned above new functionality should not break old behavior or make existing attributes of the data model useless. If we need different functionality for drop-down (horizontal) and "old-style" menus, the system should do that by itself e.g. by looking at the layout attribute (advanced tab of the site module). Overwriting the template may work but should not be required. This seems to be a solution of the kind "today's solutions are tomorrows problems" 🤔.
That’s all from me. You’ve been given very detailed instructions on how to delete five lines of code. If you’d like to create a pull request from this, feel free to do so. :)
That’s all from me. You’ve been given very detailed instructions on how to delete a few lines of code. If you’d like to create a pull request from this, feel free to do so. :)
I am very pleased with the patch description.Feel free to close the ticket .Thanks again.www.henk-weltje.nlHenkVerstuurd vanaf mijn iPhoneOp 29 apr 2026 om 20:19 heeft Martina Scholz @.***> het volgende geschreven:LadySolveig left a comment (#46556)
That’s all from me. You’ve been given very detailed instructions on how to delete five lines of code. If you’d like to create a pull request from this, feel free to do so. :)
—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: @.***>
| Status | New | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-05-03 14:54:15 |
| Closed_By | ⇒ | MacJoom |
I consider this issue as resolved by a workaround - thanks for your contributions!
Screenshot J5:
Screenshot J6: