Here is a patch that will allow activemenu to work automatically with book navigation menus.

CommentFileSizeAuthor
book_menu.patch4.17 KBthe greenman

Comments

the greenman’s picture

Status: Active » Needs review

Updated status to "patch"

nedjo’s picture

Nice!

I like the functionality and the implementation looks good.

The patch could use some minor cleanup for coding style (indents, spaces, leave out the closing PHP tag, etc.).

I look forward to testing this when I find time. Any other testing meantime would be welcome.

lxpk’s picture

The activemenu book patch still works great for me, thank you!

All I need now is a way to override a page's book menu item and a way to default certain book menu items to expanded.

This should be made part of jstools' code permanently.

lxpk’s picture

Activemenu book support with Drupal 5 needed. Can this patch be used with 5's ActiveMenu?

nedjo’s picture

What I want to do here is introduce an activemenus hook that can be implemented in various modules. Then we can include implementations for the core modules--menu, user, book, maybe others.

I've opened this new issue: http://drupal.org/node/111180.

nedjo’s picture

Status: Needs review » Fixed

Thanks, applied with some changes to HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)