AjaxSearch now with MooTools
As MODx makes its shift to using MooTools, I decided to go ahead and get AjaxSearch ported over. The search I have in my sidebar is using the latest version, and you can see it in action. Along with the conversion to MooTools, I added in some bug fixes and some new feautes including template and language file support.
The MooTools javascript framework was a breeze to learn, and really provides some great functionality. I think I will look at some more of the functionality to come up with some cool stuff for Wayfinder also. If you want to check out the framework go here: www.mootools.net.
Until quickedit gets converted to MooTools (which is happening right now), you will probably get some errors if you try to run your search while logged into the manager. So if you are using the prototype or scriptaculous libraries (maybe others too), you may experience some conflicts with the updated code.
Here is a list of things that have changed in this version.
- Conversion to MooTools with enhanced functionality for the live search.
- Addition of language file support.
- Addition of template support for increased customization of the output.
- Tweaked search code for better results.
- Search Highlight Plugin enhanced for better results highlighting.
So go and get it!
For more information on AjaxSearch including parameters, examples, and change log information go here:
AjaxSearch Snippet Development Area
5
3
Hi,
I've installed modx with sample data and templates. But after updating AjaxSearch to v1.6 I won't get any search results on the defined resultspage.
Why is that?
1
I'm sorry for this, but I'm not getting it to work. Everytime I try, it get this error (tested with Firefox):
Error: Fx is not defined
http://ds.supr.com.br/assets/snippets/AjaxSearch/AjaxSearch.j s
Line: 1
Could you tell me what is it?
Thanks in advance.
>>adding the parameter &ajaxSearch=`0` to the snippet call on the landing page
That did it. Thanks!