Posted by Karl
2017-06-28

Hi Tom (firstly thanks great script - needs donate button)

1. Staff ID in Search Results = is it possible to include the staff id & username in the address table.
2. After login user gets "add new form" first
3. Has anyone done a responsive theme
Posted by Tom
2017-06-29

>1. Staff ID in Search Results = is it possible to include the staff id & username in the address table.

Sorry, currently there isn't an easy way to join two tables.

>2. After login user gets "add new form" first

[Step 1] Open web/staff/app/cls_sys_base.inc.php in a text editor and find the following array.
$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=>'address/_def'
);
Replace
	XA_START_PAGE=>'address/_def'
with
	XA_START_PAGE=>'address/reg_init'
The result should look like
$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=>'address/reg_init'
);
[Step 2] Open web/staff/app/cls_ps_address.inc.php in a text editor and find the following lines.
case 'reg_init':

//-- [BEGIN] Validate prev PageID & Set new PageID
if ( !$sc->CheckPrevPageID(
array(
"search_pxy"
)
) ) break;
Insert "", below "array(" like
case 'reg_init':

//-- [BEGIN] Validate prev PageID & Set new PageID
if ( !$sc->CheckPrevPageID(
array(
"",
"search_pxy"
)
) ) break;

>3. Has anyone done a responsive theme

I remember somebody posted a link to his work but it's gone already.