Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Book Tree Menu

399 sites No security coverage Drupal 10–11 Book ecosystem
View on drupal.org

This module improves Drupal's book navigation by allowing users to expand and collapse submenus directly without loading the parent page. It transforms the book navigation into a more dynamic and user-friendly menu system.

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

Depends on

Dependencies of the latest stable release

  • book Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
May 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Core Release date
3.0.1 Stable 10–11 May 15, 2025