Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Very simple fix to annoying problem with the book module. Once you assign a non-book page as a top-level book page (through outline), you can't make it stop being a book.
Simple fix/patch included.
Comment | File | Size | Author |
---|---|---|---|
book_no_remove.patch | 576 bytes | moonray | |
Comments
Comment #1
drummCommitted to 5.
Comment #2
ax CreditAttribution: ax commentedshouldn't this be committed to HEAD, too?
Comment #3
Dries CreditAttribution: Dries commentedCommitted now! Thanks.
Comment #4
(not verified) CreditAttribution: commentedComment #5
ashledombos CreditAttribution: ashledombos commentedsorry for this old topic coming back but is this patch still necessary to remove top level node from book ?
regards
Comment #6
bohmann CreditAttribution: bohmann commentedYes, the patch is still necessary (v6.16). A (not so pretty) alternative to the patch is to open database table "book" and delete the row that holds the node-book relation - that worked for me (not recommend for production sites).