Create a menu with at least 3 levels of sub-menus, like so:
Menu (level 1)
-Sub-menu (level 2)
--Sub-sub-menu (level 3)
Create a module to display this menu and set the "start level" to 2
In the module I expect to see this menu items:
Sub-menu
-Sub-sub-menu
I see nothing, no menu item is rendered.
No errors (debug was enabled)
After 2h of testing.
I've made alot of test's, and it worket 1 time only but with this condition.
I've set the "start level: 2" and "End level 3", it din't work if the "end level was: All".
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
Information Required
|
Yes, joomla 3.10.8
Labels |
Added:
J3 Issue
Removed: Information Required |
And what is the basee item in your tests
Menu Type URL is the problem.
Same problem with "Heading" type
Yes - that is expected. They are not real menu items so the module does not know it neeeds to be displayed
For me it doesn't work with other types of menus either
More info, maybe it helps.
If I change the level to start from 1 to 3 and I access any of the sub-menus, after, we can change back the level to start from 2 to 3 and the menu it is visible.
But if I exit from the sub-menus, the menu is no longer visible in front-end
cache?
No, it's just the way it works.
I will try a better explanation.
Item_A (level 1)
--Item-sub_A (level 2)
---Item-sub_A-A (level 3)
--Item-sub_B (level 2)
I set the module to show the menu using starting level 1 to all ( I can see the menu in front-end).
a) I access any of the sub items
b) I change the module to show the menu using starting level 2 to all (I refresh the page and the menu it is visible, without the root item and I can switch between any of this sub-items of the menu)
--Item-sub_A (level 2)
---Item-sub_A-A (level 3)
--Item-sub_B (level 2)
C) I click on the logo of the website and I access the home page (the menu is not visible anymore)
Thank you for raising this issue.
Joomla 3 is now in security only mode with no further bug fixes or new features.
As this issue doesn't relate to Joomla 4 it will now been closed.
If we are mistaken and this does apply to Joomla 4 please open a new issue (and reference this one if you wish) with updated details for testing in Joomla 4.
cc @zero-24
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-08-23 20:35:00 |
Closed_By | ⇒ | zero-24 |
@oxido21 thanks for reporting. Is it Joomla 3.x?
In J4 your use case works for me. Startlevel 2 and end level "all" shows levels 2 and 3. .