Support Center

How to move the Book navigation at the top of the content

Last Updated: May 29, 2014 01:36PM EEST
The Drupal core Book module is creating structured documents. A book is a set of pages tied together in a hierarchical sequence, perhaps with chapters, sections, subsections, and so on. You can use books for manuals, site resource guides, Frequently Asked Questions (FAQs), or whatever you'd like. You can read more here

Regarding the Book navigation, if you need to move the navigation block at the top of the default main content, you should edit your node template. Edit your node.tpl.php template into your theme folder and add the following code:

<div class="content"<?php print $content_attributes; ?>>

    <?php print render($content['book_navigation']); ?>

    // We hide the comments and links now so that we can render them later.
    print render($content);

In case this article leaves any of your questions or concerns unanswered, please feel welcome to email us or post a public question.

​More than (just) Themes

Contact Us

[email protected]
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found