[support] How to hide Navigation menu for non-authenticated users?

Kobus Myburgh ITBJDM at puknet.puk.ac.za
Wed Sep 6 14:52:14 UTC 2006


Hi Jody,

There may be easier ways, see if there are different responses to your
request than mine, but this is the first thought I had:

In your blocks admin, you can set the that the "Navigation" block only
shows when the PHP code evaluates to true. The code you would need to
put in there would look something like this:

<?php
  global $user;
  return $user->uid > 0;
?>

Regards,

Kobus


>>> Cleveland at winnefox.org 9/6/2006 4:41 PM >>>
Hello,

I was wondering...

How do I hide the Navigation menu for any user who has not
authenticated?

Thanks!

- jody
--
[ Drupal support list | http://lists.drupal.org/ ]


More information about the support mailing list