By justbradford on
I haven't found a tweak for this for 6.10, and didn't want to mess anything up... How can I make the Next, Up, and Previous links appear at the top of each Book page as well as the bottom?
Thanks!
Bradford
Edited by: VM; moved to appropriate forum
Comments
My solution...
This has been asked several times, and after trying several approaches, I solved it as follows. I created a new block that is displayed in my theme's content_top region. The block executes this php code:
There is one minor problem with this, though: preprocess_book_navigation() adds link elements into the HTML header which indicate document relationships (prev, next, etc); since this function is now called twice, there are duplicate link elements. Too minor an issue for me to worry about right now...
My solution...
Thanks, wibe! I will try it...!
Where did PHP code go?
Was going to add the block; but has the "PHP code" input format gone away in 6.12? I can't seem to get that option to display, although my 6.10 site has it.
Ah!
I didn't have the PHP filter module enabled...will try again...
Ah!
Got it to work in the header...which of course didn't look so good; but I can see how it might be tweaked in e.g., the content_top area. FYI, also noticed (new to 6.12?) a "Book Navigation" item in the Blocks list...!
book top (and bottom) navigation
See also http://drupal.org/node/127553#comment-2887868