No Code Attached Yet
avatar ceford
ceford
10 Dec 2025

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!

avatar ceford ceford - open - 10 Dec 2025
avatar ceford ceford - change - 10 Dec 2025
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 10 Dec 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 10 Dec 2025
avatar ceford
ceford - comment - 10 Dec 2025

Screenshot J5:

Image

Screenshot J6:

Image
avatar ChristineWk
ChristineWk - comment - 13 Dec 2025

@ceford
maybe relevant? #46436

avatar ceford
ceford - comment - 13 Dec 2025

@ceford maybe relevant? #46436

That only keeps open the currently selected submenu. All the other submenus are closed.

avatar LadySolveig
LadySolveig - comment - 23 Dec 2025

@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. :)

avatar Oekosoft
Oekosoft - comment - 25 Dec 2025

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.

avatar LadySolveig
LadySolveig - comment - 25 Dec 2025

@Oekosoft This would mean that it could no longer be used as a horizontal layout (e.g. navbar). Here, you certainly do not want this behaviour to be the default, but you may still want to display more than one level.

avatar Oekosoft
Oekosoft - comment - 25 Dec 2025

Does show sub-menu even have a function for the dropdown layout? I guess not.

avatar LadySolveig
LadySolveig - comment - 25 Dec 2025

You can test it out. Further improvements in the shape of PRs are always welcome.

Add a Comment

Login with GitHub to post a comment