Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)!

book_tree_menu

398 sites No security coverage
View on drupal.org

Overview

Book Tree Menu enhances the default Drupal Book navigation by transforming it into a more dynamic, user-friendly menu system.

In the standard behavior, users must navigate to a parent page to reveal its child links each submenu only expands when its parent page is visited. This module removes that limitation by allowing users to expand and collapse any submenu directly, without having to load the parent page.

With this enhancement, clicking on a parent item in the left-hand menu will only toggle the visibility of its submenu. It will not navigate to the parent page, which is acceptable since these pages typically serve only as structural containers with no meaningful content beyond Book traversal links.

Credits

This Drupal module is sponsored by the Office of the New York State Comptroller

Requirements

  • Book module

Installation

  1. Download and enable the module
  2. Enable it through the Drupal admin interface or Drush.

Compatibility

Version Drupal Core Book Module Dependency 2.0.x Drupal 10.4.5 Book 1.0.0 (Contributed) 3.0.x Drupal >10.4.5, 11 Book 2.0.0 (Contributed)

Notes

The Book Tree Menu module modifies core behaviors to implement its enhancements:

  • Overrides the bookTreeAllData method in the BookManager using a Drupal style Service Provider.
  • Replaces the book-tree.html.twig template to mirror the structure and behavior of a standard menu.

Similar Modules

Activity

Total releases
1
First release
May 2025
Latest release
1 year ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
3.0.1 Stable May 15, 2025