Posted by Sergey
2017-06-29

Thank you for fast reply on my previous question. I think you don't understand me because of my bad english. Your address book have record create date/time, record edit date/time and who did it without ajax in tpl.table-name.detail.php. But now i have questions about how i can add types to input field like "number" or "tel" or another... for example <input type=number ..... <input type=password .... and so on... And how can i do searching by record date.. for example, i need to find/search all records 20.05.2016... Thank you.
Posted by Tom
2017-06-30

If you want to display the username in the search page, open web/staff/asc/df.fl.addresses.inc.php and find the following array:
'rlog_create_user_name'=>array(
XA_CLASS=>'cls_rlog_user_name',
XA_CAPTION=>RSTR_CREATE_USER_NAME,
XA_LIST=>'(rlog)(reg_save)'
),
Add '(sr)' to 'XA_LIST' like this:
'rlog_create_user_name'=>array(
XA_CLASS=>'cls_rlog_user_name',
XA_CAPTION=>RSTR_CREATE_USER_NAME,
XA_LIST=>'(rlog)(reg_save)(sr)'
),
Now, you can inlude this in the search page to display the username.
<?php echo $hm->Zb('rs:def:rlog_create_user_name'); ?>