I'm making a news theme with sections like "Sports", "Health" etc based on the taxonomy module. The "Section" vocabulary is then used as a main menu with sub-sections as sub-menus. Now, I want the relevant sub-menu (e.g. "Health") to stay open/highlighted when viewing an article that belongs to the section. (Not just when viewing the taxonomy page)
For example, take the Daily Mail "Science" section. This should correspond to my taxonomy term page. The "Science" menu is highlighted:
http://www.dailymail.co.uk/sciencetech/index.html
And here is an article that belongs to the "Science" taxonomy term. The "Science" menu stays hilighted:
What is the best way to accomplish this in Drupal 7?
You can use the Menu Position module to accomplish this.
After installing:
This should keep the "sports" menu link active on the correct pages.