ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Help needed with Live Search / Auto suggest

March 03, 2011 10:21am

Subscribe [3]
  • #1 / Mar 03, 2011 10:21am

    joost

    62 posts

    The last few days I have been trying to implement a Live Search solution which should look, in essence, like the one here (which uses the Live Search plugin in EE1).

    I’ve read a few topics about the Live Search Plugin and I found the ported EE2 version of Live Search (unofficial). Also found this blogpost but that solutions looks a little slow and I prefer a more flexible solution.

    This is working now. However, I’m looking towards a more flexible solution.


    Solution #2

    I tried to find a solution based on the JSON plugin. I created a new template /search/json/ with a few products in JSON format. See output here.

    Using the JSON Autosuggest jquery plugin I tried to trigger the requests with

    $('#keywords').jsonSuggest({url: '/search/json/'});

    Unfortunately this does not work. Absolute URI, relative, with or without .htaccess.. I tested it without result. However, when I try to get results from the data in the demofile it does give me that data.

    Is there someone who has a Live Search solution implemented in EE2 successfully?

  • #2 / Nov 05, 2011 6:15pm

    JPDesignDev

    20 posts

    Have you made any progress in regard to an AJAX Search Suggest?

  • #3 / Feb 23, 2012 1:46pm

    Adam Christianson

    115 posts

    I’m in the need of coding something like this as well, so thanks for the links and info. Has anyone made only significant progress on something like this for EE2?

  • #4 / Mar 01, 2012 6:43pm

    dj-rowan

    31 posts

    I found the solution here: http://ellislab.com/forums/viewthread/158439/#764977

    Its a bit involved to get it up and running, but the supplied code does work!

  • #5 / Mar 01, 2012 9:42pm

    Adam Christianson

    115 posts

    I was able to get something working using this solution as well. I think I may post some additional details about how I got it all working if i get a moment. Thanks for the reply.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases