So I started a book to use as my faq page for tutorials.. etc..

So that first top level page will show in my main menu of the site and becomes an editable book page.. I would like all the child pages and sub children pages of this book to show on the top level page of the book automatically..

Is tehre some sort of php global command for the book that I can stick in the top level thats like

TOP LEVEL PAGE *browsed to from the menu*
-$phpbookchild
--$phpbooksubchildren

Comments

wellsy’s picture

http://drupal.org/node/44648

Look at this page which uses the code example
http://www.orchidsonline.com.au/interactive/node/3097

take close look at setting the below to your requirements

$book_top_page = 159; <<<<<<The node number of the book page
$levels_deep = 2; <<<<<<the number of levels in the book

wellsy

orchidsonline.com.au

Jaza’s picture

Have a look at the category module. This is an alternative to the book module, which combines the features of book and taxonomy, and which is fully backwards-compatible with both. You can also import your existing books into the category module.

One of its sub-modules, category_display, allows you to display a 'TOC' (list of child pages), and to specify the depth of the TOC for each page that it's displayed on. You can set it to an infinite depth if you wish. This is cleaner than using a custom PHP snippet, as it requires no coding on your part - the module takes care of everything.

Jeremy Epstein - GreenAsh

Jeremy Epstein - GreenAsh

Compactman’s picture

Thanks for the reply I'll pitch it to the team next meeting.