Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

I have a book called courses with several subpages, I want to show the list of ot other subpages when one subpage is open.

Example:

-Courses
---Course1
---Course2
---Course3
---course4

I want to show course1, course2 & course3 when course4 is open. I know to get childpages, but have no idea how to get pages in same level. I am using Drupal 7.

share|improve this question
add comment

1 Answer

If book module is enabled, it also creates a block called "Book navigation". You can display the block in any of the "Region" defined in your theme (e.g. "Sidebar first" in Bartik theme), by visiting http://your-site-url/admin/structure/block.

The block will be displayed(in the selected region) whenever you open the book page. And by default it will show the the book pages at the same level(sibling) pages.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.