Posted by Michele
2017-04-28
Thank you Tom for your info. Now I'm wondering if it's possible to limit add/ delete only to administrator. Staff can only see and do research. Thank you
Posted by Tom
2017-04-29
You can make code effective only to admins by enclosing the code with if ( $sys->IsAdmin() ) { like this
<?php if ( $sys->IsAdmin() ) {If you want to show it to only non-admin, use this:
//code to hide from non-admin
} ?>
<?php if ( !$sys->IsAdmin() ) {
//code to show to only non-admin
} ?>