Closed (outdated)
Project:
Drupal core
Version:
6.x-dev
Component:
book.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Aug 2009 at 13:44 UTC
Updated:
2 Mar 2016 at 22:18 UTC
Jump to comment: Most recent
Comments
Comment #1
peterx commentedbook.modules contains:
$variables['tree'] = book_children($book_link);book_children contains:
includes/menu.inc menu_tree_output has:
$output .= theme('menu_item', $link, $data['link']['has_children'], '', $data['link']['in_active_trail'], $extra_class);In theory you could override the output using a module or theme function. The name would be something like book_menu_item. You could read the node to get the teaser. You could make the extra processing an option. You could make the code an optional add on module named book_child_index_tester. The book developers migth pick it up and package it with the book module. I would like something like this but it is item 78 on my list of 10 things I have to do this month.
Comment #2
iantresman commentedLooks interesting, and I hope to find some time to try it out.
Thanks.
Comment #3
aspiration commentedbook.module:
Comment #4
rovoIs this meant to display the teaser as well? Where would you put this code?