The release 1.8.0 is now available in the repository.
This release has the same features than the 1.8.0 beta1
Changelog:
-- correct search in Tvs (or any other joined table) -
demo here
--
define where to do the search (&whereSearch parameter) (content,tv,jot,maxigallery,your own non Modx tables) -
demo here
--
search into your own custom tables -
demo here
-- define
which fields to use for the extracts (&extract parameter)
-- Define the number of extracts displayed in the search results
--
Improvement of the extract algorithm -
see demo here - search "primary school" with "exactphrase" option
--
use AjaxSearch with your own non MOdx tables -
demo here
-- order the results with the &order parameter
--
define the ranking value and sort the results with it -
demo here
--
filter the unwanted documents of the search
-- define the extract ellipsis
-- define the extract separator
-- define the format of displayed dates -
demo here
-- Avoid search in content of type reference
--
Extended place holder templating and template parameters
-- Use of &advSearch parameter available from the front-end by the end user :
demo here
-- Choose your search term from a predefined search word list -
demo here
-- stripInput user function
-- stripOutput user function -
demo here
-- a message is displayed to the user if his search term is too short -
demo here, try "a", then "ab" and "abc"
-- Configuration file and $__ global parameters
-- snippet code completely refactored and objectified
-- Bugfixes regarding Quoted searchstring
-- the Highlighting plugin takes now into account of &advSearch parameter
-- An advanced Highlighting plugin is provided - used on all the demos
And last but not least I have added the last features:
Changelog:
-- &
clearDefault : clearing default text -
demo here
When the user clicks on the box, the default text is wiped away so that they
can begin typing. If they click away from the box, without typing anything in,
we will add the default text back so that they don’t forget what was meant to
be typed.
See
http://www.yourhtmlsource.com/forms/clearingdefaulttext.html
0 - clearing default text inactivated (default)
1 - clearing default text activated
--
&[b]breadcrumbs to display the path of documents found[/b] -
demo here
0 : disallow the breadcrumbs link
Name of the breadcrumbs function : allow the breadcrumbs link
e.g &breadcrumbs=`Breadcrumbs`
The function name could be followed by some parameter initialization
A parameter initialization is a couple: parameter name : value
e.g: &breadcrumbs=`Breadcrumbs,showHomeCrumb:0,showCrumbsAtHome:1`
The breadcrumbs function could be custom function or a snippet
--
&tvPhx : Set placeHolders for TV (template variables) -
demo here
0 : disallow the feature (default)
’tv:displayTV’ : set up placeholders for each TV (named tvName) linked to the documents found
Placeholders for TVs are:
[+as.tvName+], [+as.tvNameShow+], [+as.tvNameClass+]
Where tvName is the MODx name of a TV
[+as.tvName+] is the HTML output of your TV
[+as.tvNameShow+] = 1 if the TV is not NULL
[+as.tvNameClass+] :
- ajaxSearch_resultTvName for the non ajax results (&tplResult)
- AS_ajax_resultTvName for the ajax window (&tplAjaxResult)
displayTV is a provided ajaxSearch function which render the Modx TV output.
But &tvPhx
could also be a user function and runs with your custom tables.
Find attached the report of the test done with this release