Use menu_links to get active trail
drewish - February 3, 2009 - 12:15
| Project: | Menu Trails |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | needs work |
Description
On a previous project I'd done something very similar to menu trails but used the menu system's menu_links. I started trying to adapt the code into the menutrails.module as an experiment.
This is very much a work in progress. The only menu_links that are generated are for nodes and the rebuilding process is pretty slow. I think it could be optimized quite a bit.
| Attachment | Size |
|---|---|
| menutrails_as_menu_links.patch | 25 bytes |

#1
rollled the patch from the wrong spot.