Display Children Based on Menu Depth

Created on 6 February 2018, over 6 years ago
Updated 14 December 2023, 7 months ago

Problem/Motivation

For sites that have a menu structure several levels deep, they might want to only show menu items to a certain depth. For example, only the first and second level menu items.

So, if a user is on a top level page, the view block shows second level menu pages. If you a user is on a second level page, the view block shows third level menu pages. If a user is on a third level page, they don't see fourth level menu pages.

Steps to reproduce

  1. Create a site four menu levels deep.
  2. Create a View using Menu Children Filter

Proposed resolution

Add an option to choose the maximum depth.

Remaining tasks

  • ❌ Write a patch
  • ❌ Write test coverage
  • ❌ Manually test
  • ❌ Commit to the 3.0.x branch
✨ Feature request
Status

Needs work

Version

3.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia danjordan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024