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
Comment #1
criznach commentedThis 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?
Comment #2
criznach commentedTry unchecking "no extras" on your node content panel. It worked for custom breadcrumbs.
Comment #3
merlinofchaos commentedBe sure the "Node page" option is checked for your node content pane.
Comment #4
jrabeemer commentedOk, 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! :-)
Comment #5
sandino commentedsubscribe
Comment #6
sun.core commentedSorry, but Panels for D5 will not see any further fixes, since Panels for D6 simply advanced too much and no one cares for D5.