- Issue created by @azinck
- Merge request !79Add an option to display the top-level page in the book navigation block β (Closed) created by azinck
- πΊπΈUnited States smustgrave
Will need test coverage. Also will need a 3.0.x branch
- Merge request !80Add an option to display the top-level page in the book navigation block (3.0.x) β (Merged) created by azinck
- πΊπΈUnited States smustgrave
Looking pretty good, will need an upgrade hook for the new schema key.
- Status changed to Needs work
about 2 months ago 4:35pm 18 May 2025 - First commit to issue fork.
- π³πΏNew Zealand siramsay
This fix doesn't allow Use top-level page title as block title and Show top level item together. The new functionality takes precedence.
- πΊπΈUnited States smustgrave
And probably expand testBookNavigationBlockWithTopLevelPageTitle to test both.
- π³πΏNew Zealand siramsay
siramsay β changed the visibility of the branch 3497281-add-an-option to active.
- π³πΏNew Zealand siramsay
Sorry, I don't know what I did above changed the visibility of the branch 3497281-add-an-option to active..
I was trying to find the correct issue branch and commit, so must have clicked on something. Please change back if that makes sense. - π³πΏNew Zealand siramsay
This fixes the issue so that Use top-level page title as block title and Show top level item can be use together.
Still needs test.
Tested on drupal 11 install. Placed a book navigation block. With both show_top_item and use_top_level_title enabled, both configurations work as described.
Pushed up a commit to shorten the description for show_top_item. Moving to RTBC.
- πΊπΈUnited States smustgrave
May need a reroll
@siramsay can you test to see if this addresses your issue.
- πΊπΈUnited States smustgrave
Iβm hoping to have a alpha release for 3.0.x but itβs such a drastic shift Iβll backport this to 2.0.x too
- π³πΏNew Zealand siramsay
This would be good to have in the stable 2.x release, since 3.0.x is the dev release. I'll test this out later today. Sorry, I should have said I couldn't get to it till today. Thanks.
- π³πΏNew Zealand siramsay
I tested the latest commit, and this works as advertised. https://git.drupalcode.org/issue/book-3497281/-/commits/c0da465fce1c465cd7f24d0c5f409b5084651f45 with composer.json set up to use this.
composer require 'drupal/book:3.0.x-dev#c0da465fce1c465cd7f24d0c5f409b5084651f45'
-
smustgrave β
committed fc62e57a on 3.0.x authored by
siramsay β
Resolve #3497281 "Add an option 3.0.x"
-
smustgrave β
committed fc62e57a on 3.0.x authored by
siramsay β
-
smustgrave β
committed 64e4986e on 2.0.x
Issue #3497281 by mdranove, azinck, siramsay: Add an option to display...
-
smustgrave β
committed 64e4986e on 2.0.x
Automatically closed - issue fixed for 2 weeks with no activity.