Joomla 3.8.5 or current staging.
Create menu structure with 3 or 4 levels. In my example/images menu name is "Main Menu-EN"
- Level 1
- - Level 2
- - - Level3
- - - - Level 4
Don't forget position and menu association "On all pages"
Go to frontend and open menu item "Level 1"
Both modules with split menus of level 2 and level 3 are shown.
Only level 2 menu is displayed. For level 3 menu ModMenuHelper returns an empty list.
Because of line https://github.com/joomla/joomla-cms/blob/3.8.5/modules/mod_menu/helper.php#L69
Is this really the expected behavior? If yes, I don't understand why.
Labels |
Added:
?
|
Title |
|
But if you click menu item "Level 1" there is no module "Level 3". Only "Level 2".
Thats correct and expected unless you change the base item setting.
For example if your menu structure was something like this then there is no way to know when you are level 1a what level 3 to display.
Level 1a
---Level 1a2a
-----Level 1a2a3a
-----Level 1a2aa3b
---Level a2b
-----Level 1a2b3a
-----Level 1a2aa3b
Level 1b
---Level b2a
-----Level 1b2a3a
-----Level 1b2aa3b
---Level b2b
Thank you!
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-02-27 12:59:11 |
Closed_By | ⇒ | ReLater |
Seems to work ok for me