Virtuemart Ajax Live Search

Both the Joomla 1.0 and 1.5 modules are now fully SEF friendly working with Artio's JoomSEF extension. The module only works in conjunction with Artio's JoomSEF so please don't raise support queries until you have installed Artio JoomSEF.
This is based upon the very nice module originally written by Antoine BERNIER. The original was useful on any VM shop, given just the first three characters of any product in the shop, this module displayed the product-found list in a neat drop-down linked list of matching products.
The original by Antoine was made available as part of the Virtuemart 'miscellaneous utilities' and was able to replace the standard VM search box. If you install this module on your own Virtuemart shop it will provide a very smart method for your clients to find your products.
Joomla 1.0
Tested on VM 1.0.15 - See Joomla 1.0 example here: http://lightquick.co.uk/shop-home.html
Download the Joomla 1.0 version by clicking on the usual download button or follow this link:
http://lightquick.co.uk/virtuemart-downloads/mod-vm-livesearch-0.1.1-sef.html
Joomla 1.5 (beta)
Tested on VM 1.1, 1.2 - See Joomla 1.5 NATIVE example here:
http://www.sugarclothing.co.uk/terms-conditions-of-purchase.html
The Joomla 1.5 version is available for download here:
http://lightquick.co.uk/jdownloads/mod-vm-livesearch-j1.5.html
Installation note: Install the J1.5 module using the standard Joomla 1.5 module installation process.
This module uses moo.fx and it can conflict with other extensions that use mootools, try it and see if it works for you. Please be aware the 1.5 version is beta but it works.
If you are going to use this module on your site then please do so, all we ask is that you give us a little positive feedback here on the JED. It is nice to know we are not working in a vacuum and that our small effort is appreciated!
Yereverluvinunclebert
After installing this extension, it searched right, but I ran into some issues with multiple source urls when using JoomSEF (you may need to look into overriding the itemID if you run into the same thing). I emailed the author and he got back to me in the same day. We exchanged emails for a day or so until he got me on the right track. The problem wasn't with the extension, rather the way it was set up with my site.
Good one.
I just encountered a problem, which proved to be from my particular settings but Dean was very prompt in helping.
It would be nice to come with a translation file, for future easier upgrades, but anyway for a free extenstion is already alot.
--
Since I terribly needed it I decided to correct the problems so this evening I have just created a new personal version of mod_vm_livesearch which has the following features:
1) It is based on jquery rather than prototype/moo.fx, and so using jQuery noConflict it can be used without any javascript conflict with any other javascript library in any template.
2) jQuery just requires a single js file (minified) rather than downloading moo.fx.js + prototype.js
3) It corrects the table prefix error using the correct prefix
4) It doesn't need to manually copy the file somewhere since it copies livesearch.php automatically to the root folder (according to the right folder permissions)
5) jQuery can use cache with the ajax requests
6) It corrects a graphical issue about animations too close to each other (no need to toggle when you know if it's already showing or not)
7) It simply binds the search function to the onkeyup instead of both binding it to onkeypress AND call it every 0.01ms
I am gonna send this version to you soon since I just want to correct other 2 features I don't like:
1) The messages in mod_vm_livesearch.php are hardcoded in English
2) It should be useful to check if a decent version of jQuery is already been loaded by some other component/module so it won't need to include it AGAIN.
What about updating your module with my corrections to make it public to the world wide web? In my opinion it should be public.
Thanks for the review, we are working on a new version that will not conflict with other mootools components and it will be ready soon-ish, keep an eye open here. Glad you found the other component useful too.








