Aricie
Intégrateur de vos solutions d'avenir
DNN Community Forums

I am not able to get autocomplete working

Sort:
You are not authorized to post a reply.
Author
Messages


Johan Johansson











New Member



Posts:




New Member



    Have installed

    #DNN 05.05.01

    # Aricie.LuceneSearch.Trial.1.5.3.zip

    # Aricie.Shared.1.6.7.Release.zip



    and followed the manual to configure it but there is som many settings and I have activated indexer settings>>Autocomplete settings>>Enable autocomplete. Have also defined the skinobject LuceneSearch and edited the skin like the manual under 5 Advanced settings (developers) shows. But still no autocomplete :(


    Any thoughts?



    samyb











    New Member



    Posts:




    New Member



      Hello Johan,

      Thank you for trying LuceneSearch. In order to help you solve the problem, i am going to ask you to check some points to ensure that the whole system is configured correctly.

      First, DotNetNuke 5.x didn't include jQueryUI yet, which is needed by the autocomplete. In order to check if the javascript executes correctly, could you open a browser, and point it at your website after activating the javascript console? (The javascript console can be found with the F12 key in IE, Ctrl+Shift+C in Chrome, and via Ctrl+Shift+K in the latest Firefox; you may also use Firebug in Firefox, which is opened via Ctrl+Shift+C)

      After opening the console, refresh your website; you should see some messages coming from the Autocomplete to provide a diagnostic of what is happening. Here is a screenshot from the Aricie homepage running under Chrome

      If you experience any error in the console, it may be because jQueryUI is not loaded (it really depends on the error message, but i'm going to assume that to show you how to add jQueryUI to your website). In order to let the autocomplete load the jQueryUI script, you must go to the Autocomplete Settings under Indexer Settings in LuceneSearch

      From there, go into "Client Settings" and check the "Include custom styles and scripts" checkbox. Below this check box, you will see four fields appearing, which will allow you to enter the path to a script you want to include, as well as a CSS path. By default these scripts point to the Google CDN version of jQuery 1.8.16. This should work by default.

      If you have a previous version of jQueryUI included in your website, it may be too old to support the autocomplete, in which case you can supersede the jQueryUI version already installed with one supporting the Autocomplete by checking the "Overwrite existing versions of jQueryUI" checkbox. Finally there is the option to include a css for the autocomplete. By default we are using the one from Google's CDN, but you should change it to whichever path fits your website.

      If everything went fine, you should see a popup under the text area of your textbox; even if there are no results, something should appear. However, if you encounter another error, could you please send us the error message that is logged under the Admin > Event Viewer menu?

      Best regards

      Samy



      Johan Johansson











      New Member



      Posts:




      New Member



        Thanks, I've got it working once I upgraded to DNN 6.2.3. Just configuring it so it looks good as well :)



        samyb











        New Member



        Posts:




        New Member



          Great :) If you have any other questions, feel free to ask us. And if you're using LuceneSearch on a public website don't hesitate to tell us; we love to see how our modules are used :)

          Best regards,

          Samy

          You are not authorized to post a reply.