|
Olivier Portier
Member since: 04 April 2008
Posts: 7
|
Wednesday 23 June 2010 12:11:34 pm
Hi,
I installed ngsuggest on eZFlow with eZ Publish 4.3 and it works fine after little changes in the install procedure :
1- in eZJSCore, disable the packer option :
file: ezjscore/settings/ezjscore.ini
line: 9, >>
Packer=disabled
2- in eZJSCore, enable Jquery option :
file: ezjscore/settings/ezjscore.ini
line: 17-18, >>
#PreferredLibrary=yui3
PreferredLibrary=jquery
3- in eZFlow,
file: ezflow/settings/ezjscore.ini
line: 4, >>
#EnabledScripts[]=yui2
EnabledScripts[]=jquery
4- if you don't want to update solr schema.xml, just modify the FacetField parameter in ngsuggest.ini
file: ngsuggest/settings/ngsuggest.ini
line: 6-7 >>
FacetField=ezf_df_text
#FacetField=ngsuggest_text
5- to have a Google like completion look in the drop down list, with completion in bold (<strong>),
file: ngsuggest/design/standard/javascript/jquery.jsonSuggest-dev.js
lines:158-159, >>
text = text.replace(filterPatt, "$1<strong>");
text = text + '</strong>';
In conclusion, this is a great feature !!
Thanks a lot Ivo !
Olivier
|
|