Friday 30 March 2012 10:22:30 am - 4 replies
I have installed ezfind and everything works fine for me but the Auto-Complete is not working in Frontend !
What should i do ?
I don't have this problem in admin Site
Modified on Friday 30 March 2012 10:23:57 am by Amir koklan
Friday 30 March 2012 10:48:56 am
Warning: ezjscPacker::packFiles Mar 30 2012 10:44:52
Could not find: javascript/rightmenu_widthcontrol.js
Warning: ezjscPacker::packFiles Mar 30 2012 10:44:52
Could not find: javascript/leftmenu_widthcontrol.js
Warning: ezjscPacker::packFiles Mar 30 2012 10:44:52
Could not find: javascript/contentstructuremenu_dynamic.js
This is all i got in debugging about JS and Error !
Friday 30 March 2012 3:48:28 pm
Hi Amir,
Activate templates debug and make sure the right template is used.
In this search template must be a javascript code like:
var autocomplete = new eZAJAXAutoComplete({ldelim}
url: "{'ezjscore/call/ezfind::autocomplete'|ezurl('no')}",
inputid: 'Search',
containerid: 'mainarea-autocomplete-rs',
minquerylength: {ezini( 'AutoCompleteSettings', 'MinQueryLength', 'ezfind.ini' )},
resultlimit: {ezini( 'AutoCompleteSettings', 'Limit', 'ezfind.ini' )}
If you are using your own search template then you need to do some changes. Check these templates for example:
ezfind/design/admin2/templates/page_search.tpl
or
ezfind/design/ezwebin/templates/content/search.tpl
You must be logged in to post messages in this topic!