joeholden Posted November 7, 2012 Report Posted November 7, 2012 Hello, How do you make custom module pages so that only staff can see them? is there a piece of code that you put at the top of the page? All help appriciated! Quote
vader21 Posted November 7, 2012 Report Posted November 7, 2012 <?php if(Auth::LoggedIn()) { if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { ?> Your Page content here Hope it helps. <?php } } ?> 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.