XF 2.0 Admin rights???

ScrapDog

Member
Hello,

I like to know if there is an option to give permission in the navigation menu for admin rights.

insteed of : $xf.visitor.user_id will there be a $xf.admin.user_id or so, to give only an admin rights in the navigation menu.

Thx

ScrapDog
 
To clarify, you want to make it so that an entry in the public navigation is only visible to users who are admins?

If so, the "Display condition" should be set to: $xf.visitor.is_admin.
 
Well Chris D,

Im looking and try to understand the script language, but i dont :)

My new question is almost the same, but now it need to be visible if your only a passant or unregistered user. So when you logged in and your registered or admin, it need to be invisible. It need only to be visible when your a passant or guest, that isn't logged in yet.

Thx

ScrapDog
 
Back
Top Bottom