Views Menu Node Children Filter
Categories
Component ID
2482445
Component name
Views Menu Node Children Filter
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
11159
Component created
Component changed
Component body
This module adds a contextual filter to Views that will retrieve a node's child nodes according to a menu's structure.
Features:
- Now supports filtering by page path to accommodate non-node parent pages. I.e.: Views page or Page Manager page
Thanks @badrange!
Example scenario
Create a view of nodes that are direct children of a specific node in the Main menu tree.
How to use
- Download and enable this module as you would any other Drupal module.
- Create a view that selects nodes.
- Add the "Menu children" contextual filter.
- Specify the menu that the filter should target (required field).
- Provide a Node ID or path to a parent page that you want to display the child nodes from.
- Verify that nodes are listed who have the filter Nid as their parent in the target menu.
Limitations
- Currently this module only works for Node entities.
