Posted by S.Samanta
2014-04-26

Dear Tom,
I faced a issue with your address book application.
I want let the view & search my address book without login. How to do that?
Alternatively, a "view only" user is needed. How to do that.
Posted by Tom
2014-04-27

Hi S.Samanta,

>I want let the view & search my address book without login.

First, open web/staff/app/cls_sys_base.inc.php, and find $spec_sys_base array. It looks like this:
$spec_sys_base = array(
XA_CLASS=>'cls_sys_base',
XA_AUTH=>true,
XA_DEFAULT_PAGESET=>'frame',
XA_FRAME_FIELDSET=>'staff',
XA_FRAME_FIELDSET_ID=>'staff_id',
XA_START_PAGE=>'(--your-table-name--)/_def'
);
( Note (--your-table-name--) varies from a script to another. )
Next, replace $spec_sys_base with the following code:
$spec_sys_base = array(
XA_CLASS=>'cls_sys_base',
XA_DEFAULT_PAGESET=>'(--your-table-name--)',
);
Note (--your-table-name--) should be the same as (--your-table-name--) in the first snippet.
Now, visitors can see data without logging in.