|
|
Forum moderator: bigblog |
uCoz Community For Webmasters Custom Solutions Need a page on menu bar to hide for users but not for admins |
Need a page on menu bar to hide for users but not for admins |
Instead of having a page display as usual in the menu bar to everyone, i only want this page (as a link and button) on the menu bar to appear when the user is logged under administrators or moderators. Guests, users, friends, and banned users will be unable to view the link to the page (as it is for admins only). Can someone please help? Thanks!
|
If you are using the normal site menu that uCoz offers, you can make that specific menu only visible to members and guests etc and make a second menu with all of those items and the hidden page as well, but only make it visible to moderators and admins. Then just put the code for them right next to each other, and problem solved!
-- If you are making your own menu from scratch like I did once just surround the option by <?if($GROUP_NAME$=Admin)?> <!-- Menu code --> <?endif?> You may also supplement Group Name with Group ID and use their group ID instead of name. -- Kinda rushed, but I hope this helps! Using uCoz for years.
|
| |||
| |||