OK, I hold my hand up and say I might be misunderstanding this module. That said, I don't think box relationships are working. what I'm looking for is to build a drupal-handbook style panel for every book node, with the table of contents in a column next to the book node itself. I followed this process:
* Made a new variant that must be a book page
* Added a relationship: book parent. Relationship type: top level book.
* Made a 2 column layout. Left column has the book page in it, with 'treat as primary node page' checked.
* Set panel title to "%book_parent:title"
* Added in the right column "book navigation" from "node". Set "Node: Book parent"
Needless to say neither of the last two stages seem to work.
Thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | Node template Preview.png | 38.65 KB | shaneonabike |
Comments
Comment #1
shaneonabike commentedHey guys,
I seem to be having the same issue as noted above. To recreate the issue try the following:
* Create a Page Panel
* Add a relationship to the 'Immediate Parent'
* Add a Node title block
* Add a Book Parent Title block or any element in the Book parent.
* Preview output
In my test scenario no Book parent title is actually displayed, but the node title block is displayed. This is causing issues on a larger scale with embeded mini-panels as well.
Does anyone have a workaround for this issue?
Comment #2
mathieu commentedSubscribe.
Comment #3
shaneonabike commentedI also noticed (as an interesting side note) that in the preview of the panel it displays all the links properly. But in the full display there seems to be an issue with displaying any parent links.
See attached image...
Cheers
Shane
Comment #4
sholn commentedsubscribe
I have the same problem, book_parent (immediate or top parent) are not gathered
Comment #5
endiku commentedI didn't want to start a new thread since this sounds like the same issue and is still unresolved.
The Book Navigation does not display.
I can set the context either manually for a specific book parent page or use a path argument of !node and neither results in the book navigation appearing once played in the layout.
I also find it odd that "Add content:Node" doesn't seem to be there unless a context is being used at all but that is another matter I'm sure.
So to reiterate.
Select context to a book_page NID specifically, add relationship "book parent" (both types)(or don't add), add content "Node:book navigation"
Then in both the preview and in the normal page it will display any other node objects selected such as node:author, body, ect but it will never display the book navigation.
I wish I had a little more to post about than just the broken behavior.
Comment #6
merlinofchaos commentedThe book relationship plugin was, sadly, completely non-functional. Either it didn't get ported from Drupal 5 properly, or the book data changed a lot somewhere in a Drupal upgrade.
I have checked in a fix. This was actually in CTools.
Comment #7
merlinofchaos commented