Posted by Tom
2014-01-23
Hi Giannis,
The template is located at web/staff/tpl.(table-name).search.inc.php.
Even if you remove the edit button, it is still possible to edit records though.
First, you need to disable the code for edit.
To disable the editing feature, open web/staff/app/cls_ps_(--table-name--).inc.php and find the line:
"case 'edit_done':"
"case 'reg_inp':"
"case 'reg_done':"
"case 'del_multi':
The template is located at web/staff/tpl.(table-name).search.inc.php.
Even if you remove the edit button, it is still possible to edit records though.
First, you need to disable the code for edit.
To disable the editing feature, open web/staff/app/cls_ps_(--table-name--).inc.php and find the line:
case 'edit_inp':and add exit; to it. The result should look like:
case 'edit_inp': exit;Do the same for the following lines, too.
"case 'edit_done':"
"case 'reg_inp':"
"case 'reg_done':"
"case 'del_multi':
After i made the folder for the guest I want to hide or remove the buttons Add New and Delete because the guest will only see, no edit nothing. In which template may i remove this buttons??