Posted by Brandon Smith (Question 2)
2014-03-09

Our second question deals with warrants. If we have a warrant faxed to our office we try to input the information into the system so if an officer searches a name it will show they have outstanding warrants. Is there a way to turn certain search results by name the color red such as the whole box or the name? This way the officer knows he/she is dealing with a possibly dangerous person? Any information would be greatly appreciated!
Posted by Tom
2014-03-10

In the template, web/staff/tpl.(table-name).search.inc.php, you can find many placeholders like <?php echo $hm->zb('rs:def:(--field-name--)'); ?>. The part, $hm->zb('rs:def:(--field-name--)') returns the corresponding field value. You can assign it to a string or pass it to a function for further processing. For example, you can search certain names in the value, and if any, you can enclose it with <span> tag to highlight it in red.