Posted by Tom
2014-02-03
Hi Giannis,
To prevent non-administrators from adding/editing/deleting records, open web/staff/app/cls_ps_(--table-name--).inc.php and add
"case 'edit_done':"
"case 'reg_inp':"
"case 'reg_done':"
"case 'del_multi':
To prevent non-administrators from adding/editing/deleting records, open web/staff/app/cls_ps_(--table-name--).inc.php and add
if ( !$this->sys->IsAdmin() ) exit;after
case 'edit_inp':The result should look like:
case 'edit_inp': if ( !$this->sys->IsAdmin() ) exit;Do the same for the following lines, too.
"case 'edit_done':"
"case 'reg_inp':"
"case 'reg_done':"
"case 'del_multi':
'login'=>array(
'sc'=>'frame/login',
'caption'=>RSTR_LOG_IN,
in order to go to the Login Page which is under web/staff/tpl.frame.login.inc.php but it does not go to that page and i get the error: Location : cls_ps_frame/CVPageSet::GetFieldListAttri
Message : Fieldset () does not exist in spec_fieldsets : PageSet Name = frame ....
What am i doing wrong?
thank you in advance!