Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IYY-287: Install and enable Drupal Book module #834

Open
wants to merge 1 commit into
base: iyy-sprint-03
Choose a base branch
from

Conversation

codechefmarc
Copy link
Contributor

@codechefmarc codechefmarc commented Dec 20, 2024

IYY-287: Install and enable Drupal Book module

Description of work

  • Adds book and custom book block modules
  • Adds initial configuration to: Enable book for Page content type, add navigation block to the page meta section, and configuration for block
  • Fixes issue with entity_redirect module that conflicted with book module
  • Note: This PR currently does not have styling for the book navigation, this will come in a subsequent update

Functional testing steps:

  • Login to the site
  • Add a Page to the site
  • Title the page
  • Verify that in the sidebar, there is a new section for "Book outline"

Screenshot 2024-12-20 at 4 09 16 PM

  • In the Book outline, from the select list, choose "Create a new book"
  • Publish the page
  • In layout builder, optionally, add a block such as text
  • Save the layout
  • Add a new page
  • Title it
  • In Book outline, select the first book as the book this new page should be part of
  • Publish the page
  • In layout builder, optionally, add a block such as text
  • Save the layout
  • Create a third page
  • Title it
  • In Book outline, select the first book as the book, and select the second page created above as the parent item
  • Publish the page
  • In layout builder, optionally, add a block such as text
  • Save the layout
  • Verify that on pages that are in a book, there is a top-level book navigation for that book

Screenshot 2024-12-20 at 4 09 44 PM

  • Verify that the navigation shows all of the levels of the current book
  • Verify that at the bottom, there is a "Book traversal links" which offer dynamic "paging" to the previous / next pages as well as up to the parent level

Screenshot 2024-12-20 at 4 10 06 PM

  • Go to Structure -> Books and verify that there are books listed here

Screenshot 2024-12-20 at 4 10 44 PM

  • Click "edit order and titles" on a book and verify that you can drag and drop to reorder sections of the book

Screenshot 2024-12-20 at 4 10 23 PM

Copy link

Visit Site

Created multidev environment pr-834 for yalesites-platform.

@codechefmarc codechefmarc self-assigned this Dec 21, 2024
@codechefmarc codechefmarc marked this pull request as ready for review December 21, 2024 00:11
@codechefmarc codechefmarc requested a review from a team as a code owner December 21, 2024 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant