You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, it's possible to make "unlimited" sub-menus under sub-menus under sub-menus (and going on...) in the admin.
Most of the times, the front-end only renders 1 or 2 layers deep of sub-menus.
It would be a nice enhancement to make it possible to "limit" the amount of submenu's.
Suggestion;
My idea is; Make it possible to add a (optional) MAX_NESTING variable for each "protected" menu.
When rendering the "MenuItem" GridField, we check how "deep" we are nested and if we have reached the MAX_NESTING for the "protected" menu you are working on.
Other ideas to make this possible are welcome 😄 .
The text was updated successfully, but these errors were encountered:
Right now, it's possible to make "unlimited" sub-menus under sub-menus under sub-menus (and going on...) in the admin.
Most of the times, the front-end only renders 1 or 2 layers deep of sub-menus.
It would be a nice enhancement to make it possible to "limit" the amount of submenu's.
Suggestion;
My idea is; Make it possible to add a (optional) MAX_NESTING variable for each "protected" menu.
When rendering the "MenuItem" GridField, we check how "deep" we are nested and if we have reached the MAX_NESTING for the "protected" menu you are working on.
Other ideas to make this possible are welcome 😄 .
The text was updated successfully, but these errors were encountered: