livre
The Livre project provides a replacement for the Book module that up until Drupal 11 was part of Drupal core
Why?
The maintainer of the book module refused to support Drupal 10.4.x/10.5.x and Drupal 11.1.x with the latest 3.0.x branch and features. Livre brings all of the latest features from 3.0.x with backwards compatibility to ^10.4 || ^11.1
How is this possible?
Composer provides a means to replace a project with another. It is explained here.
Steps to replace book:
Step 1) composer require drupal/livre
Step 2) drush en book -y;#No need to install livre afaik, just book
Step 3) drush cr;
Step 4) Sip from a marguerita
A book is a set of nodes tied together in a hierarchical structure, with chapters, sections, and subsections. You can use books for manuals, site resource guides, Frequently Asked Questions (FAQ), novel, or curricula. Any content type can be added to a book, and a book can contain nodes of more than one content type.
Features
A version of this module was in Drupal core from Drupal 3.x until Drupal 10.x (around 22 years!)
You likely have used it since it's how the community documentation on drupal.org was organized for many years.
Users who have permission can create a book and write, modify, or rearrange the pages. Many users can work together on a book -- you can allow or disallow collaboration, to whatever extent you want.
Post-Installation
This module adds the "Book" content type. You will need to configure what types of nodes can be added to a book once it's created.
Post-Installation
This module adds the "Book" content type. You will need to configure what types of nodes can be added to a book once it's created.
Replacing the Core Book Module
If you are upgrading from a Drupal 10.3+ site that used the core Book module,
Drupal will automatically detect and prefer this contributed version.
You do not need to uninstall or remove the deprecated core module.
Drupal's module discovery system prioritizes modules in the contrib directory over those in core, looking for modules in `core/modules` last, after all the other possible places that modules can live, ensuring a seamless transition.
For more details, see the official documentation:
[How to replace a deprecated core module with its contrib version](https://www.drupal.org/docs/core-modules-and-themes/deprecated-and-obsol...).
Recommended modules/libraries
- Book PDF - This module provides a means to print books and relies on a wkhtmltopdf server binary for pdf generation.
- Book PDFs - This module provides a means to print books and relies on a php library called dompdf for pdf generation and is easier to set up than Book PDF. Please contribute to the effort to finish adding mpdf library support (a higher quality pdf library than dompdf).
- Book Access Code - Provide arbitrary access to books by exposing them to those that have a book code. This could be used in many ways.
- custom book block - A more configurable version of the navigation block
- book tree menu - Book Tree Menu enhances the default book navigation
- Booktree - Booktree module - take as input a series of Book nodes and create a tree-like structure using Book node relationships. Similar to booktree_menu.
- Sync book index to Drupal core menu
- Book Organizer
Similar projects
- Entity Reference Hierarchy - extends the standard Entity Reference field to store a nested set representation of the the hierarchy.
Community Documentation
A great place to add links to YouTube walkthroughs, external documentation, or a demo site (use DrupalPod!).
Branches
1.0.x = The upstream for this branch is directly from "Book" version 3.0.x
Livre 1.0.x has support for more versions of Drupal core than is currently supported by Book 3.0.x however offers the same functionality. This has the latest and greatest features of Book but also is compatible with popular versions of Drupal core.