Doublecheck that you have the correct versions of the snippet and all files and make sure that the templates.inc.php file in assets/snippets/AjaxSearch/includes exists and is not corrupted. AS should create a default search form for you if it’s installed properly.
[!AjaxSearch? ajaxSearch=`0` &AS_landing=`249` &moreResultsPage=`249` &showMoreResults=`1` &addJscript=`0` &extract=`0` &AS_showResults=`0`!]by:
[!AjaxSearch? &ajaxSearch=`0` &AS_landing=`249` &moreResultsPage=`249` &extract=`0`!]&showMoreResults=`1` &addJscript=`0` are unusefull if you want use the non-ajaxMode. And if you want use the ajax mode &addJscript=`0` means that you load yourself the mootools library. &showMoreResults=`1` have no effects with the non-ajax mode.
, Is it a first draft and it is not the first goal of this site
Hi coroico!
A new version of AjaxSearch (Version 1.7.1) is now available in the repository.
...Correction of search with &searchStyle=`relevance`...
1. Tell please how is the mechanism of "relevant" search on all words arranged?See this document : Behind the scene : sql
2. How is the highlighting in relevant search on all words realised?No changes since the 1.7.0.2
3. I have not seen a russification file. And is it should be?No change since the version 1.7.0.2. I have begun to implement the changes done by Akots: http://modxcms.com/forums/index.php/topic,18599.msg116964.html#msg116964 But as I got some errors, by lack of time, I didn’t investigate more for the 1.7.1
Correction of highlighting is necessary in case of usage of the landing page of search (non-AS) by search simultaneously all words. Today on this page the quantity of contexts equal to quantity of required terms will be generated. And the one and only context is necessary to display. This context still needs to be isolated accurately that in it there was the greatest quantity of found terms. It is the separate task...
2. How is the highlighting in relevant search on all words realised?No changes since the 1.7.0.2
This discussion is closed to further replies. Keep calm and carry on.