I'm guessing this is to do with books and pages, but if you have a look at the following page: http://drupal.org/handbooks there are 'groups' or 'containers' of categories. For ease, I'll pick the third category down (Configuring and customisation). In this section there are topics such as Introduction, Configuration, End user guide, et al; and when you click on introduction you get a nice block menu on the left and it is categorised with the items from the previous page and forward and next buttons.

It's all very nice and a very powerful presentation. But I cant find a way to duplicate something similar on my site.

I am guessing it has to do with books?

Are the headings: About Drupal, Installation and upgrading, Configuration and customization etc books? And are the parts under them some form of chapter? Or books within books?

I just cant quite get the gist of how to create this. Am I on the right track? and how do you actually create a book? There is no create book under the admin menu.

Is there a simple tutorial somewhere that will tell me how to achieve this? Or is someone willing enough just to give me the skeleton idea of what I have to create to achieve a similar result.

It would be VERY much appreciated.

Thanks and Regards to all

Dave

Comments

puti’s picture

Yes, Configuring and customisation is a book. Introduction is a book page. I think of books as hierarchical nests of nodes - the top-level node gives the book its title.

To create books, you need to enable the book module, which is a core drupal module. To enable the book module, go to administer >> modules, and check book's 'enabled' checkbox.
See the drupal handbook for more about books: http://drupal.org/handbook/modules/book

There are two ways that I know of to create book pages:
1) Go to create content >> book page. This was the only way in 4.5, but 4.6 has a new way...
2) Create a page or story, and then once it's submitted, click the 'outline' tab (next to the edit tab).

You can put book-pages into a hierarchy by choosing a parent. I might be wrong here, but I think you have to create the top-level book-page as a 'book-page' node-type?

You can put book-pages into order by choosing a numerical weight.

To see an overview of your books go to administer >> content >> books >> (your book title). However, please be aware that there is a bug that can make your page weights revert to zero when you use the overview page: http://drupal.org/node/4074
I've found that when I change page weights only within each book page node I've avoided this bug.

This post hasn't covered how to create pages that list all the books together, like your example http://drupal.org/handbooks
I think this might be laid out with static html, perhaps.

madivad’s picture

thanks puti, there are so many things I want to do with this... Although I know I'm asking a lot of questions, I am a quick learner and it really isn't that hard.

Thanks again