Hi
I have created books using the core book module in drupal 6. I use the book navigation block to show the books on all pages. However, the 'books' are actually sections within courses. I am using the books for the sections because I am selling access per book, not per course. However, of course, the book menu then shows a whole bunch of books but knows nothing about the courses. I would like to have them categorized by course.
The way I have thought to do this is to create a taxonomy named course which I add to the book content type. I can then copy the book-all-books-block.tpl.php into my theme directory and edit it to have it place the category (the course taxonomy) in the menu. However, I don't have the skill to do this and would really appreciate it if somebody could help me.
Kind Regards
Chris
Comments
Please help
Please help
okay, macman. Lets see if we
okay, macman. Lets see if we get one step further. I'm not sure if I got you. You want to display all books in a block, which belongs to a certain taxonomy term (which is in your world - a course). Right? Or do you want an list with all books ordered by taxonomy term in this block?
Hi Thanks for responding. I
Hi
Thanks for responding. I want it just like the book navigation block except that I want the books that are displayed in the block to be listed under a category which is a taxonomy term that they each have.
eg
book navigation block
tax term 1
book 1
book 3
tax term 2
book 2
book 5
tax term 3
book 4
okay, I got you.
okay, I got you. Unfortunately I do not use the book module very much. But I guess, I would try it with a view (you know the views module>?) - Order Books by date or title or whatever you want and group them by taxonomy term - expose the view as a block - add the block to the sidebar.
I found a snippet, but don't know if it works in D6 - http://drupal.org/node/134512
hth