AjaxSearch 1.8.1 is now available
in the repository This version is also provided with
MODx 0.9.6.3-rc1
What is really new ?
whereSearch: You could now, field by field, define in which fields of which tables you want do the search.
And now search images in Maxigallery is really effective. See:
http://www.modx.wangba.fr/index.php?id=200
withTvs: Select the Tvs where to do the search See:
http://www.modx.wangba.fr/index.php?id=206
subSearch: Use radio buttons to select sub domains where the search applies
See:
http://www.modx.wangba.fr/index.php?id=224 and
http://www.modx.wangba.fr/index.php?id=225
filter: SearchString metacharacter available with &filter parameter
searchWordList: An array has been added as parameter, so you could improve the choose of the searchWordList depending of the context
See:
http://www.modx.wangba.fr/index.php?id=206
debug: log some informations for debugging in firebug or in a file
See:
http://www.modx.wangba.fr/index.php?id=227 and
http://www.modx.wangba.fr/index.php?id=228
jQuery: Version 1.8.1 is "jQuery ready".
Parameters have been defined, but the ajaxSearch jquery library is not still available. Don’t use this feature.
Some others demo are available on
http://www.modx.wangba.fr/
Which issues have been corrected since 1.8.0 ?
ADDON-8 : Call to undefined function mb_strlen()
http://svn.modxcms.com/jira/browse/ADDON-8
ADDON-9 : $this->setDatabaseCharset(); - Missing parenthesis
http://svn.modxcms.com/jira/browse/ADDON-9
ADDON-10 : order and ranking don’t work together
http://svn.modxcms.com/jira/browse/ADDON-10
ADDON-11 : Error if is present a blank in the beginning of search text
http://svn.modxcms.com/jira/browse/ADDON-11
ADDON-12 : A call to the mb_strrpos php function with an empty text
http://svn.modxcms.com/jira/browse/ADDON-12
ADDON-14 : "ajaxSearch" used as title in the snippet’s heading
http://svn.modxcms.com/jira/browse/ADDON-14
ADDON-18 : this code (filter:alpha (opacity=0);-moz-opacity:0.) is not valid CSS.
http://svn.modxcms.com/jira/browse/ADDON-18
ADDON-20 : TV placeholders not working with non-ajax searches
http://svn.modxcms.com/jira/browse/ADDON-20
ADDON-21 : W3C XHTML Strict Validation - layout.tpl.html
http://svn.modxcms.com/jira/browse/ADDON-21
ADDON-22 : Fix for Japanese language
http://svn.modxcms.com/jira/browse/ADDON-22
AJAXSEARCH-5 : Some extracts are cut in middle of sentence without reasons
http://svn.modxcms.com/jira/browse/AJAXSEARCH-5
AJAXSEARCH-7 : JS Cross Site scripting - security issue
http://svn.modxcms.com/jira/browse/AJAXSEARCH-7
AJAXSEARCH-8 : pageLinkSeparator not visible
http://svn.modxcms.com/jira/browse/AJAXSEARCH-8
Upgrade compatibility
The version 1.8.1 runs with MODx 0.9.6.x (x=1,2,3)
Except if you have already use the &whereSearch parameter, your AS snippet calls are fully compatible between version 1.8.0 and 1.8.1.
AS 1.7.1 snippets call are fully compatible with version 1.8.1
Documentation
I have updated
the wiki documentation.
As English is not my native language don’t hesitate to correct or improve it. This is a first draft.
I will explain the examples "Search with your own tables" on the demo site later