Posted by pounard on June 23, 2009 at 11:14am
Jump to:
| Project: | Menu block |
| Version: | 6.x-2.2 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Issue Summary
Because I have the need to deeply alter LI element's classes, I need a theme() function so I can alter it without dirty-hacking the module.
So, I made a patch to add this theme() function, see attached patch.
| Attachment | Size |
|---|---|
| menu_block.module-menu_block_menu_theme.patch | 1.56 KB |
Comments
#1
This looks very useful; I have been looking for a way to cleanly make data about each menu item available when I theme the list elements.
There's some extra stuff in the patch (whitespace goop and an extra class beyond what the module currently implements), and it could probably use a reroll by now.