Posted by Maximo Ramos
2017-01-14

Hello! Great work by the way!!

I followed these instructions but I guess it is outdated or I am doing something wrong:

http://www.phpkobo.com/article--m2072

It sure does make the email address clickable but only in edit mode, not in search results mode.

Even worst, if I try to add another contact the email address field is replaced with an "Email me" link.

One more thing, is it possible to replace the ID column with just a regular counter? so you will know how many contacts you have, the ID is misleading to some people.

Again, great work!!!!!!!!
Posted by Tom
2017-01-15

Hi,

>It sure does make the email address clickable but only in edit mode, not in search results mode.
No, the article is not for the search page. For the search page, you need to do the same on web/staff/tpl.(table-name).search.inc.php.

>Even worst, if I try to add another contact the email address field is replaced with an "Email me" link.
That's what the poster wanted. If you want to keep the inputbox, duplicate the line:
<?php echo $hm->Zb('rs:def:email'); ?>
Keep one intact and modify the other.

>is it possible to replace the ID column with just a regular counter?
Sorry, there isn't an easy way.

>You will know how many contacts you have
You can see the number of the records at the bottom of the search page like
Showing records 1 - 20 of 999

>the ID is misleading to some people.
You can hide it. Edit web/staff/tpl.(table-name).search.inc.php.