Posted by Kelton Joyner
2014-06-29

Tom.
I copied the staff folder and renamed it guest then made the changes suggested to S. Samatha on 2014-04-27.
Next, replace $spec_sys_base with the following code:

$spec_sys_base = array(
XA_CLASS=>'cls_sys_base',
XA_DEFAULT_PAGESET=>'(--your-table-name--)',
);
It displays the address book but when I click on Logout I get this error
Location : cls_ps_frame/CVPageSet::GetFieldListAttri
Message : Fieldset () does not exist in spec_fieldsets : PageSet Name = frame
Also how do I prevent the guest from adding, modifying, or deleting records?
Posted by Tom
2014-06-30

>click on Logout I get this error

It makes sense. You already removed the login/logoff feature, so the logoff link shouldn't work. Please remove the top menu from the template.

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':