[drupal-devel] [feature] Book Menu Navigation needs Theming

merlinofchaos drupal-devel at drupal.org
Thu Aug 4 17:38:10 UTC 2005


Issue status update for 
http://drupal.org/node/28198
Post a follow up: 
http://drupal.org/project/comments/add/28198

 Project:      Drupal
 Version:      4.6.2
 Component:    book.module
 Category:     feature requests
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  merlinofchaos
 Updated by:   merlinofchaos
 Status:       patch (code needs review)
 Attachment:   http://drupal.org/files/issues/book-theme-menu.patch (1.88 KB)

In one of my Drupal sites I re-themed a minor issue in the menus, and
discovered that the book navigation system just uses code that looks
similar to the menu themes, but isn't actually themed.


This very small patch adds a function theme_book_menu_item modeled
closely on theme_menu_item from the menu system, and lets me theme this
output as necessary; I believe it's incompatible with the other book
menu patch floating around (and hopefully not necessary, but I haven't
looked too closely at what that patch actually does).


Hopefully I didn't break anything with it!




merlinofchaos




More information about the drupal-devel mailing list