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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 05:13:35
Script start
Timing: Jan 18 2025 05:13:35
Module start 'layout'
Timing: Jan 18 2025 05:13:35
Module start 'content'
Timing: Jan 18 2025 05:13:36
Module end 'content'
Timing: Jan 18 2025 05:13:36
Script end

Main resources:

Total runtime1.2206 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 589.0547152.6250
Module start 'layout' 0.00760.0035 741.679739.4688
Module start 'content' 0.01111.2082 781.1484539.6094
Module end 'content' 1.21930.0012 1,320.757812.1563
Script end 1.2205  1,332.9141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2821160.0002
Check MTime0.00150.1190160.0001
Mysql Total
Database connection0.00090.073910.0009
Mysqli_queries1.164495.3956600.0194
Looping result0.00070.0540580.0000
Template Total1.184597.020.5923
Template load0.00200.163920.0010
Template processing1.182596.878520.5912
Template load and register function0.00020.020210.0002
states
state_id_array0.00090.077110.0009
state_identifier_array0.00080.069220.0004
Override
Cache load0.00170.1401290.0001
Sytem overhead
Fetch class attribute can translate value0.00080.062620.0004
Fetch class attribute name0.00120.100450.0002
XML
Image XML parsing0.00070.061120.0004
class_abstraction
Instantiating content class attribute0.00000.000750.0000
General
dbfile0.00220.1764170.0001
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs