Ajax Poll Script
php Infinite Scroll
Ajax Likes Script
Address Book Script
PayPal IPN + eProduct Delivery Script
Text Ad Script
Lead Follow-Up Database Script
AdFreely -Ad Board Script-
Fade-In Slideshow
Ajax Poll Admin
URL Shortening Script
Posted by Nasko


I followed the instruction how to disable the edit, delete button. After the staff tries to edit, they can't edit or delete (that's good), they dont get an error message they just get a blank page. Is it possible that they get a custom message like "NOT ALLOWED" through a .js or something?

Waiting for your answer!


Posted by Tom

Hi, it's better you remove the edit/add-new/delete buttons from
the template, web/staff/tpl.(table-name).search.inc.php
Or you can hide it from staff. To hide code in a template, enclose it with
<?php if ( $sys->IsAdmin() ) { and } ?> like
<?php if ( $sys->IsAdmin() ) {
//code goes here
} ?>