Advanced Features

1. Dynamic Menu Loading:

  • Menus can be loaded incrementally by specifying start_level and depth_height

  • Useful for mega menus or lazy-loading submenus

  • Example: Load top 2 levels initially, load deeper levels on hover

2. Context-Aware Menus:

  • System can detect current page via request_path or selected parameters

  • Automatically highlights active menu items and their ancestors

  • Useful for showing "you are here" navigation indicators

3. Sibling Navigation:

  • Can generate menus showing siblings of a specific item

  • Useful for "related sections" or "browse similar" navigation

4. Parent Inclusion:

  • include_parent parameter adds the parent node to results

  • Useful for breadcrumb generation or showing context

Last updated

Was this helpful?