I am using Drupal 6. How would I programmatically activate two or more menu items when I am on a certain node page?


Use menu_set_active_item

| improve this answer | |
  • Works perfectly when you need to activate 1 menu item. But it seems impossible to activate 2 menu items at the same time with that function. – jjei Dec 19 '11 at 7:48
  • Right... I see only Javascript to do this but maybe somebody have another idea. – nourcy Dec 19 '11 at 11:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.