Posted by Matthew Sarino
2014-07-06

Hi! This script is exactly what I am looking for. However, I need to put in a Joomla environment along with all the other applications that we currently have. Is there a way to remove the login system on this script?
Posted by Tom
2014-07-07

Hi Matthew,

>Is there a way to remove the login system on this script?

Yes ( but I don't know if it runs in a Joomla environment )

To remove the login system, 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.