I just upgraded from drupal 5 to 6 then installed book block with the intension to display navigation for each book separately. After enabling the books I want in the block admin they dont display in the regions I specified or any other region, in any theme. There are no error messages being logged. How do I troubleshoot this? I have searched and no one is reporting this issue so I must be missing something basic. Any tips you can give will be much appreciated.

Comments

mcjim’s picture

Do the books definitely have child pages?

easwari’s picture

Yes, I just double checked; the node's book outline section shows the parent and child relationship between the node that I viewed. I dont see anything strange with my setup except there is nothing to leaf over in the books. That indicates that the system isn't recognizing the parent child relationship between the pages. Unfortunately I dont know how to fix that. Could you guy give me some clues as to how I can fix this?

easwari’s picture

Your reply made me run a test with a brand new book with child pages and this new book appears in the navigation! The problem is with the books that came from from drupal 5 book module. When I just upgraded from drupal 5 to drupal 6, the book table was empty (an upgrade bug) so I followed the instructions to create a brand new book table and populate it with the data from drupal 5 book table. Although the books displays well as nodes it doen't seem to work with book block or display navigation at the bottom to leaf over to the next pages.

i'll continue to check and see if I can find a workaround or fix. In the meantime, if someone have any suggestions please feel free to add here.

mcjim’s picture

Status: Active » Closed (duplicate)

I'll mark this as a duplicate of http://drupal.org/node/645214, as it looks as though that is where the problem lies. From what I understand, something is wrong with the update script for D5->D6 books. Menu items aren't being created, which explains why you aren't getting the menus to work, nor the navigation.

There are quite a few suggestions in there, I hope one of them works for you.

easwari’s picture

I know this issues is closed but I thought I should let everyone know taht actually my book table was restored using the workaround suggested at the http://drupal.org/node/645214 post *before* I installed book block. All the books work great at "book navigation" menu generated by the book module but book block will not generate a menu based on the restored book table. Menu links table appeared intact as well.

I found a workaround; I created a brand new page and made it a top level book then assigned the children of another book to this new book. Book module could then generate the menu. I was so happy to get the book block menu to generate however it was shortlived because clicking on this book block menu, it will not expand.

So, although I have managed to make book block generate the menu, I am still struggling with it because this menu will not expand.