Question : How do I programmatically expand a Drupal 6 navigation menu entry?

I have written a custom module that creates several top level entries in the navigation menu.  When a user selects one of these entries and navigates into it, the menu tree is expanded as selections are made.  However, selecting an entry that creates, views or edits a node, causes Drupal to redirect to "/node/xxx" or "/node/xxx/edit".  This results in the custom navigation menu tree collapsing, so that the user has to re-navigate it again to select another entry.

I can mark the menu entries as permanently expanded, but then the navigation menu is too busy as the trees show on all pages whether the user is using that function or not.

Are there any mechanisms to programmatically expand a menu item so that the relevant menu tree remains visible when the user has been re-directed away?

Thanks

Answer : How do I programmatically expand a Drupal 6 navigation menu entry?

There is the issue, yu are doing this as an auto entry, rather than as its own field

I would suggest that you create a new field called combo name using the formula I previously provided
type of field is a calculatuon

let me know if there is a reason that will not work for you

thanks


Random Solutions  
 
programming4us programming4us