|
Re: Navigation Menu Only for Admin?: msg#00060php.drupal.support
Make a custom PHP block with the following code: global $user; if ($user->uid == 1) { return '<div class="menu">'. theme('menu_tree') .'</div>'; } This will only show up for the first user. If you have multiple admins with an administrator role instead, you'll need some more complicated code which queries the users_roles table. Steven -- [ Drupal support list | http://list.drupal.org/ ] |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Navigation Menu Only for Admin?: 00060, Mark A. Pitcher |
|---|---|
| Next by Date: | Re[2]: Getting started with taxonomy: 00060, Valery V. Kachurov |
| Previous by Thread: | Navigation Menu Only for Admin?i: 00060, Mark A. Pitcher |
| Next by Thread: | RE: Navigation Menu Only for Admin?: 00060, Mark A. Pitcher |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |