autocompletion in one class

Author Message

Jonathan Clavier

Monday 20 June 2011 12:08:53 pm

Good evening,
 I set up the extension ezfind. The auto-completion works on my text field, but I would look on one class. (Article). But all classes are displayed. Indicate how this class?
 My js:

          <script type="text/javascript">
            jQuery('#ezautocompletecontainer').css('width', jQuery('input#searchtext').width() + 60);
            
            var ezAutoHeader = eZAJAXAutoComplete();
            ezAutoHeader.init({ldelim}
                url: "{'ezjscore/call/ezfind::autocomplete'|ezurl('no')}",
                inputid: 'SearchText',
                containerid: 'ezautocompletecontainer',
                minquerylength: {ezini( 'AutoCompleteSettings', 'MinQueryLength', 'ezfind.ini' )},
                resultlimit: {ezini( 'AutoCompleteSettings', 'Limit', 'ezfind.ini' )}
            {rdelim});
        </script>

 My div:

               <div class="search">
                <input type="text" id="SearchText" name="SearchText" class="text_search ac_input" value="Rechercher" />
                <div id="ezautocompletecontainer"></div>
              </div>

Someone had this problem?

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 02:06:12
Script start
Timing: Jan 18 2025 02:06:12
Module start 'layout'
Timing: Jan 18 2025 02:06:12
Module start 'content'
Timing: Jan 18 2025 02:06:13
Module end 'content'
Timing: Jan 18 2025 02:06:13
Script end

Main resources:

Total runtime0.4809 sec
Peak memory usage4,096.0000 KB
Database Queries48

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 591.1406152.6250
Module start 'layout' 0.00670.0034 743.765639.4531
Module start 'content' 0.01010.4692 783.2188410.7500
Module end 'content' 0.47930.0015 1,193.96888.3125
Script end 0.4808  1,202.2813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.6542160.0002
Check MTime0.00130.2618160.0001
Mysql Total
Database connection0.00120.249210.0012
Mysqli_queries0.442892.0800480.0092
Looping result0.00040.0921460.0000
Template Total0.445592.720.2228
Template load0.00190.403820.0010
Template processing0.443692.245320.2218
Template load and register function0.00020.047210.0002
states
state_id_array0.00100.214210.0010
state_identifier_array0.00100.198820.0005
Override
Cache load0.00150.3185100.0002
Sytem overhead
Fetch class attribute can translate value0.00070.141210.0007
Fetch class attribute name0.00080.164310.0008
XML
Image XML parsing0.00010.023710.0001
class_abstraction
Instantiating content class attribute0.00000.001010.0000
General
dbfile0.00070.1493100.0001
String conversion0.00000.002240.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs