Toggle navigation
Free!
AjaxNewsTicker
AjaxCountDown
Ajax Poll Script
php Infinite Scroll
Link Obfuscator
CSS Obfuscator
Scripts
Text Ad Script
Ajax Likes Script
pkShortURL
Fade-In Slideshow
Ajax Poll Admin
Ajax Poll DBV
HObfus
Support
Contact Us
Ask a pre-sales question
Submit a support ticket
Free estimate request form
AjaxNewsTicker
AjaxCountDown
php Infinite Scroll
Fade-In Slideshow
Text Ad Script
Link Obfuscator
CSS Obfuscator
HTML Obfuscator for PHP
Ajax Likes Script
pkShortURL
Ajax Poll Admin
Ajax Poll DBV
Ajax Poll Script
clickable email address in search page
Posted by
Maximo Ramos
2017-03-26
Hi!!
I applied the the following instructions: http://www.phpkobo.com/article--m2072 in tpl.-mydatabase-.search.inc.php
But it doesn't work, in the search results the 'mailto:' html tag does not get any email address, when I click in any email address I get:
mailto:%A0
my 'staff/common.inc.php' as the instructions looks like this:
<?php function getTextValue( $key, $val ){ return $val->attri['value']; } ?>
<?php
//==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>
//
// Address Book Script v1.18 [G110]
..... and so on ...
the line that I modified in staff/tpl.-mydatabase-.search.inc.php looks like this:
<td style='text-align:left;'><a href="mailto:<?php echo $hm->Zb('rs:def:email',ZB_CBF,'getTextValue'); ?>">Email me!</a></td>
Please, help!!!
One more thing, instead of the "Email me" text in the field, how can I get the regular email underlined, like in many web pages?
Thank you!!!!
→
Address Book Script
Re:clickable email address in search page
Posted by
Tom
2017-03-27
>I applied the the following instructions: http://www.phpkobo.com/article--m2072
Hi, try this instead
http://www.phpkobo.com/article--m3721
→
Address Book Script
I applied the the following instructions: http://www.phpkobo.com/article--m2072 in tpl.-mydatabase-.search.inc.php
But it doesn't work, in the search results the 'mailto:' html tag does not get any email address, when I click in any email address I get:
mailto:%A0
my 'staff/common.inc.php' as the instructions looks like this:
<?php function getTextValue( $key, $val ){ return $val->attri['value']; } ?>
<?php
//==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>==>>>
//
// Address Book Script v1.18 [G110]
..... and so on ...
the line that I modified in staff/tpl.-mydatabase-.search.inc.php looks like this:
<td style='text-align:left;'><a href="mailto:<?php echo $hm->Zb('rs:def:email',ZB_CBF,'getTextValue'); ?>">Email me!</a></td>
Please, help!!!
One more thing, instead of the "Email me" text in the field, how can I get the regular email underlined, like in many web pages?
Thank you!!!!