Thanks Nancy, <div><br></div><div>I&#39;ll have a look at that.</div><div><br></div><div>Best,</div><div><br></div><div><br></div><div><br></div><div>Toon<br><br><div class="gmail_quote">On Tue, Jun 7, 2011 at 10:46 PM, Ms. Nancy Wichmann <span dir="ltr">&lt;<a href="mailto:nan_wich@bellsouth.net">nan_wich@bellsouth.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="color:#000;background-color:#fff;font-family:arial, helvetica, sans-serif;font-size:12pt"><div style="font-family:arial, helvetica, sans-serif;font-size:12pt">
<span>Gee, I&#39;d go low tech and use a custom &quot;access callback&quot; function. &quot;My project&quot; would, for example use the TRUE return, and &quot;Available projects&quot; would negate the return value. Try to keep the logic simple because it may be invoked as often as every page request. If it is more complex, you could add a flag to $user-&gt;data in the project assignment code.</span></div>
<div style="font-family:arial, helvetica, sans-serif;font-size:12pt"> </div><div style="font-family:arial, helvetica, sans-serif;font-size:12pt"><font color="#ff007f" size="4" face="bookman old style, new york, times, serif"><i><strong>Nancy</strong></i></font></div>
<div style="font-family:arial, helvetica, sans-serif;font-size:12pt"> <br></div><div style="font-family:arial, helvetica, sans-serif;font-size:12pt"><font face="arial, helvetica, sans-serif">Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.</font></div>
<div><br><blockquote style="border-left-width:2px;border-left-style:solid;border-left-color:rgb(16, 16, 255);margin-left:5px;padding-left:5px"><div style="font-family:arial, helvetica, sans-serif"><div style="font-size:12pt;font-family:&#39;times new roman&#39;, &#39;new york&#39;, times, serif">
<font size="2" face="Arial"><hr size="1"><b><span style="font-weight:bold">From:</span></b> toon severijns</font></div><div class="im"><div><div><div><font face="Arial" size="2"><br></font></div><div style="font-family:&#39;times new roman&#39;, &#39;new york&#39;, times, serif;font-size:12pt">
Let&#39;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 &quot;my project&quot;, if not i want to display a different menu item &quot;available projects&quot;. How do i do this? Context? Rules? Menu hooks?</div>
</div></div></div></div></blockquote></div></div></div><br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br></div>