Forums / Developer / ezfind + telephone number and email

ezfind + telephone number and email

Author Message

Yaseen Carim Bacor

Friday 18 February 2011 2:19:23 am

Hi everyone,

I am trying to use ezfind to search email address and telephone number. But unfortunately no such result is being return.

Each time i get a message no result is found.

Can anyone help me?

Thanks

Yaseen

Guillaume Kulakowski

Sunday 20 February 2011 8:18:31 am

Hi,

this filed are searchable ?

Do you search from admin on frontend ?

My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"

Yaseen Carim Bacor

Sunday 20 February 2011 9:40:00 pm

Hi Guillaume,

Thank you for the reply.

Actually for the email it is working fine.

But for telephone number with space it does not work.

For example telephone number like 476264726, is OK but like 47 62 64 726. Not ok

I have tried to make some modification with this function in serach.tpl but it does not work.

function ezfTrim( str ) { return str.replace(/^\s+|\s+$/g, '') ; }

Can you please help?

Thanks

Yaseen Carim Bacor

Monday 21 February 2011 3:48:00 am

The problem was with ezfind 2.1.

When i upgrade to ezfind 2.2.

It work fine.

Thanks