[support] Dynamically display menu items?
Joel Willers
joel.willers at sigler.com
Tue Jun 7 18:03:23 UTC 2011
You could make two blocks, put them in the same place and assign visibility settings based on role. There are many options, though.
Joel
From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of toon severijns
Sent: Tuesday, June 07, 2011 1:01 PM
To: support at drupal.org
Subject: [support] Dynamically display menu items?
Hello all,
Let's i want to display or not display a menu item depending on some property of the logged in user. E.g. when my user has selected a project (i.e. a reference to the project can be found through the user) i want to display a menu item "my project", if not i want to display a different menu item "available projects". How do i do this? Context? Rules? Menu hooks?
Any ideas?
Best,
Toon
More information about the support
mailing list