Posted by ravi
2013-12-03

first of all thanks for this wonderful script, i want to show the contact details to my guest without login and password. i m using company directory...
Posted by Tom
2013-12-03

Hi ravi,

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'
);
( The part, (--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.