xiaolin Posted December 16, 2011 Share Posted December 16, 2011 Hello, I want to customize the admin area, iif a staff is not full administrator, hide some menus for ex. Billing, Addons..etc Can someone provide me the code? Thanks a lot 0 Quote Link to comment Share on other sites More sharing options...
xiaolin Posted December 19, 2011 Author Share Posted December 19, 2011 any help please? 0 Quote Link to comment Share on other sites More sharing options...
mylove4life Posted December 19, 2011 Share Posted December 19, 2011 http://docs.whmcs.com/Administrators_and_Permissions 0 Quote Link to comment Share on other sites More sharing options...
xiaolin Posted December 22, 2011 Author Share Posted December 22, 2011 Thanks Here's the support answer. I posted here if it's useful for someone ----------------------------------------------- Probably the simplest way to handle this would be to do it based on the admin ID which is available in the session. So for example you could do something like wrapping any full admin only output in the following: {if $smarty.session.adminid eq "1" || $smarty.session.adminid eq "4"}...{/if} That way the code between that if statement would only execute and show for admin IDs 1 & 4. More can be added if needed. 0 Quote Link to comment Share on other sites More sharing options...
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.