Activate an existing menu item through code I need to activate an existing menu item through a hook when I'm on a certain page.  To give some context, I have a primary navigation bar which is visible on all pages, and when I'm on a user profile page I want to activate the People menu item.  The path to people is /people.  Any help is appreciated.

Cheers.
I would recommend using the Context module. You can setup rules for when a menu item is active such as content type or menu path which will save you from writing related code.

This might make it easier to understand as well for someone inheriting your site.