Home » Development » AjaxSearch » Features

Site Menu

Search

Related Links:



AjaxSearch

AjaxSearch ver. 1.6

The AjaxSearch snippet is an enhanced version of the original FlexSearchForm snippet for MODx. This snippet adds AJAX functionality on top of the robust content searching. There are two seperate ways to handle the dynamic searching with either live search functionailty or by allowing the user to start the search with the typical form buttom. Both return the results in the current window with some nice effects.

Features

  • Search results dispalyed in current page through AJAX request.
  • Multiple search options including live search and non-AJAX option.
  • Uses the MooTools js library for AJAX and visual effects.
  • Customize the number of results returned.
  • Available link to view all results when only a subset is retuned.

Credits

  • This code is based off of the FlexSearchForm snippet created by jaredc
  • The javascript code is based off of the example by Steve Smith of orderlist.com, now ported to use MooTools though.
  • The search highlighting is based off of the code by Marc (MadeMyDay | www.modxcms.de)
  • The search highlighting plugin is based off of code from sottwell (www.sottwell.com)
  • The live Search functionality is from Thomas (shadock)
  • Many fixes/additions were contributed by mikkelwe/identity/Perrine