We've removed the dependency on the Book module for the Navigation component.

However, there is no indication that LBK Book Navigation will not work because the module is not installed.

Let's do this in two parts.

Part 1:

  1. Perform a check that shows up in the Status page showing that LBK Book Navigation will not work because the Book module is not enabled. Let's make it a notice rather than a Warning because it may not be an issue for installations that don't use the Book Navigation component.

    "Layout Builder Kit | Book Navigation component requires Book module to be enabled."

Part 2:

  1. Use the same status test to display a message in layout builder editing/preview mode (not production mode) inside the Book Navigation component when the Book module is not installed: "Enable Book Module."
  2. Display a message in layout builder editing/preview mode (not production) inside the Book Navigation component when the content type layout it is placed on is not of type Book. This message should appear on the content type layouts and individual book node layouts.

    Message: "Place Book Navigation on individual Book node layout or Book content type layout.

Comments

aangel created an issue. See original summary.

aangel’s picture

Issue summary: View changes
aangel’s picture

Issue summary: View changes
aangel’s picture

Issue summary: View changes
alvarito75’s picture

I pushed code to fix this issue. Can you please check it out?
Thanks

aangel’s picture

Issue summary: View changes
aangel’s picture

aangel’s picture

Status: Active » Fixed

Part 1 was completed and added to Beta 2.

Moving part 2 to its own ticket and closing this one.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.