Drupal coder: why book.module doesn't need a theme_book_page

Submitted by Frederic Marand on

A first sight, it looks like the book.module in Drupal 5.0 is missing an important function: the ability to theme the page displaying the list of books, normally found at www.example.com/book

Actually, this function is not really needed: for simple tasks like adding an introductory or closing text to the list of books, all it takes is to create a page with the PHP input type, insert the introductory text, insert

<?php
 
echo book_render();
?>
, which returns the themed list of books, and add the closing text if wished, and voilà!