|
Re: Navigation Menu Only for Admin?: msg#00068php.drupal.support
just for the record, this part of the code works for the admin, which is what i was looking for, thanks global $user; if ($user->uid == 1) { $OUTPUT .= ("<BR><div class='menu'>" .menu_tree() ."</div>"); } return ($OUTPUT); -- Voice or no voice, the people can always be brought to the bidding of the leaders. That is easy. All you have to do is tell them they are being attacked and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same way in any country. - Hermann Goering, April 18, 1946 -- [ Drupal support list | http://list.drupal.org/ ] |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re[2]: Getting started with taxonomy: 00068, Jason Flatt |
|---|---|
| Next by Date: | A problem with node system: 00068, Magicloud |
| Previous by Thread: | RE: Navigation Menu Only for Admin?i: 00068, Mark A. Pitcher |
| Next by Thread: | Re: Navigation Menu Only for Admin?: 00068, Cheryl Chase |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |