The votes are now closed ...
The AjaxSearch 1.9.0 beta is now available
here See the ajaxSearch download menu option in the ajaxSearch area.
The new features implemented are:
==== Several AjaxSearch simultaneously on a page - Unique id for AjaxSearch instance
-
non ajax demo -
ajax demo -
This will allow to have several search inputs on a same page.
For instance a site wide search on the upper left of your site and a specific search for some items on a dedicated page.
==== Define categories and display the results per category -
non ajax demo -
ajax demo -
&category [ tv_name | ’’]
Name of a TV. This tv define the tag which marks the category
Results will be displayed grouped by category or mixed.
Each group of results could be displayed with its own result template and its own pagination
==== Custom output -
non ajax demo -
&output [ 0 | 1 ]
0 - by default the results are listed below the input form
1 - custom layout:
To place the different AjaxSearch elements where you want, by using:
[+as.inputForm+] : the input form with the intro message
[+as.results+] : the search results
For the moment runs only for the non-ajax mode. It still remains some weirds issues with the ajax mode.
=== Allow $_GET requests for Google Analytics
Use $_GET or $_POST for a better Google Analytics integration
==== parents ( in / not in)
(demo here)
&parents [ [ in | not in ] : comma separated list of Ids | ’’ ]
e.g:
&parents=`in:24,25` - do the search in the children documents of documents 24 and 25
&parents=`not in:24,10` - do the search in all documents except in the children documents of documents 24 and 10 documents
&parents=`24,25` means &parents=`in:24,25` (compatible with the 1.8.4 release)
&depth [ 0 < int ] Number of levels deep to retrieve documents
==== documents ( in / not in)
(demo here)
&documents [ [ in | not in ] : comma separated list of Ids | ’’ ]
e.g:
&documents=`in:28,29,30,31` - do the search in the documents 28,29,30,31
&documents=`not in:28,29,30,31` - do the search in all documents except in documents 28,29,30,31
&documents=`28,29,30,31` means &documents=`in:28,29,30,31` (compatible with the 1.8.4 release)
==== filter
(demo here)
filtering by tv name is now possible
e.g: &filter=`articleTags,volcano,7` display only documents related to volcanoes.
Documents are filtered by the TV ’articleTags’.
Any help to redo the input demos with IE, Safari and Chrome are welcome. Uses
the ajax demos listed on the left menu. These tests are mandatory before to release the final 1.9.0 version.
Thanks for your feedbacks.