If you create a node override for book pages, breadcrumbs and menus stop behaving after you navigate deeper into the book hierarchy.

For example, if I have a book whose root page is called "The Story of Mr. Bubble," the breadcrumbs are fine for that page.

ex. crumbs: Home -> Mr. Bubble Products
ex. page title: The Story of Mr. Bubble

For a deeper item named "Mr. Bubble in the 21st Century" in that book, the breadcrumbs and menu should be:

ex. crumbs: Home -> Mr. Bubble Products -> The Story of Mr. Bubble
ex. page title: Mr. Bubble in the 21st Century

Instead, this is what we get:

ex. crumbs: Home
ex. page title: Mr. Bubble in the 21st Century

Without a node override, the book pages' hierarchy integrate into the menu system through the view operation of book_nodeapi.

With a node override, these operations should be called when the "no extras" box isn't checked for the node content pane, but I think Panels 2 must be setting the menu location and breadcrumbs in some other way, or not setting them at all. That's where I get lost.

Comments

criznach’s picture

This also breaks the custom breadcrumbs module, which catches hook_nodeapi - view. Would there be any impact to invoking the "view" op from overriding panel pages?

criznach’s picture

Try unchecking "no extras" on your node content panel. It worked for custom breadcrumbs.

merlinofchaos’s picture

Be sure the "Node page" option is checked for your node content pane.

jrabeemer’s picture

Ok, so, to get this working with your breadcrumbs, in your overridden node/% panel page, you..

1. Create add a node content block to any panel
2. Check node page, uncheck no extras
3. Save. Can I hide the panel and get the benefit of the node load?
4. ???? Other steps I'm missing???
5. Breadcrumbs start magically working with custom breadcrumbs module?

I will contribute a panels Handbook page about this complete with screenshots for any help with making breadcrumbs work! :-)

sandino’s picture

subscribe

sun.core’s picture

Status: Active » Closed (won't fix)

Sorry, but Panels for D5 will not see any further fixes, since Panels for D6 simply advanced too much and no one cares for D5.