<![CDATA[ How to migrate from AjaxSearch 1.8.4 or 1.8.5 to AjaxSearch 1.9.0 - My Forums]]> https://forums.modx.com/thread/?thread=48313 <![CDATA[Re: How to migrate from AjaxSearch 1.8.4 or 1.8.5 to AjaxSearch 1.9.0]]> https://forums.modx.com/thread/48313/how-to-migrate-from-ajaxsearch-1-8-4-or-1-8-5-to-ajaxsearch-1-9-0?page=2#dis-post-279458 In the end i decided to leave ajaxsearch 1.9.0 for what it is. (Don’t have time to completely figure it out right now)

As for the templates, I like it that one can define it in chunks (they won’t be overwritten when upgrading)

Regards,
Bart
]]>
bartnelis Jul 16, 2010, 05:57 AM https://forums.modx.com/thread/48313/how-to-migrate-from-ajaxsearch-1-8-4-or-1-8-5-to-ajaxsearch-1-9-0?page=2#dis-post-279458
<![CDATA[Re: How to migrate from AjaxSearch 1.8.4 or 1.8.5 to AjaxSearch 1.9.0]]> https://forums.modx.com/thread/48313/how-to-migrate-from-ajaxsearch-1-8-4-or-1-8-5-to-ajaxsearch-1-9-0?page=2#dis-post-279457
[[AjaxSearch? &ajaxSearch=`0` &showInputForm=`0` &grabMax=`5` &highlightResult=`1` &pagingType=`0`]]


You can edit the pagination HTML in "assets\snippets\ajaxSearch\templates\paging0.tpl.html"]]>
DragoslaV Jul 16, 2010, 05:02 AM https://forums.modx.com/thread/48313/how-to-migrate-from-ajaxsearch-1-8-4-or-1-8-5-to-ajaxsearch-1-9-0?page=2#dis-post-279457
<![CDATA[Re: How to migrate from AjaxSearch 1.8.4 or 1.8.5 to AjaxSearch 1.9.0]]> https://forums.modx.com/thread/48313/how-to-migrate-from-ajaxsearch-1-8-4-or-1-8-5-to-ajaxsearch-1-9-0?page=2#dis-post-279456
I just don’t succeed at having it a perform a regular results output instead of a groupedresults output .. It seems the pagination subtemplating has changed and i’m a bit at a loss...

wonder whether it really pays to upgrade ...
]]>
bartnelis Jul 15, 2010, 02:11 PM https://forums.modx.com/thread/48313/how-to-migrate-from-ajaxsearch-1-8-4-or-1-8-5-to-ajaxsearch-1-9-0?page=2#dis-post-279456
<![CDATA[Re: How to migrate from AjaxSearch 1.8.4 or 1.8.5 to AjaxSearch 1.9.0]]> https://forums.modx.com/thread/48313/how-to-migrate-from-ajaxsearch-1-8-4-or-1-8-5-to-ajaxsearch-1-9-0#dis-post-279455 ]]> lossendae Jul 15, 2010, 03:26 AM https://forums.modx.com/thread/48313/how-to-migrate-from-ajaxsearch-1-8-4-or-1-8-5-to-ajaxsearch-1-9-0#dis-post-279455 <![CDATA[Re: How to migrate from AjaxSearch 1.8.4 or 1.8.5 to AjaxSearch 1.9.0]]> https://forums.modx.com/thread/48313/how-to-migrate-from-ajaxsearch-1-8-4-or-1-8-5-to-ajaxsearch-1-9-0#dis-post-279454
With ajaxSearch 1.8.4 you could customize your search feature by using some parameters. Some of these parameters are now deprecated and some new parameters have been added. The initial post list these deprecated/updated/new parameters.]]>
coroico Jul 15, 2010, 03:08 AM https://forums.modx.com/thread/48313/how-to-migrate-from-ajaxsearch-1-8-4-or-1-8-5-to-ajaxsearch-1-9-0#dis-post-279454
<![CDATA[Re: How to migrate from AjaxSearch 1.8.4 or 1.8.5 to AjaxSearch 1.9.0]]> https://forums.modx.com/thread/48313/how-to-migrate-from-ajaxsearch-1-8-4-or-1-8-5-to-ajaxsearch-1-9-0#dis-post-279453 jazzmatazz2005 Jul 12, 2010, 02:22 PM https://forums.modx.com/thread/48313/how-to-migrate-from-ajaxsearch-1-8-4-or-1-8-5-to-ajaxsearch-1-9-0#dis-post-279453 <![CDATA[Re: How to migrate from AjaxSearch 1.8.4 or 1.8.5 to AjaxSearch 1.9.0]]> https://forums.modx.com/thread/48313/how-to-migrate-from-ajaxsearch-1-8-4-or-1-8-5-to-ajaxsearch-1-9-0#dis-post-279452

have swing]]>
virtualbear Jun 19, 2010, 02:52 AM https://forums.modx.com/thread/48313/how-to-migrate-from-ajaxsearch-1-8-4-or-1-8-5-to-ajaxsearch-1-9-0#dis-post-279452
<![CDATA[Re: How to migrate from AjaxSearch 1.8.4 or 1.8.5 to AjaxSearch 1.9.0]]> https://forums.modx.com/thread/48313/how-to-migrate-from-ajaxsearch-1-8-4-or-1-8-5-to-ajaxsearch-1-9-0#dis-post-279451 can somebody please explain how to use this the right way in plain English?What do you not understand ? the initial post or the discussion with virtualgadjo ?]]> coroico Jun 18, 2010, 01:10 PM https://forums.modx.com/thread/48313/how-to-migrate-from-ajaxsearch-1-8-4-or-1-8-5-to-ajaxsearch-1-9-0#dis-post-279451 <![CDATA[Re: How to migrate from AjaxSearch 1.8.4 or 1.8.5 to AjaxSearch 1.9.0]]> https://forums.modx.com/thread/48313/how-to-migrate-from-ajaxsearch-1-8-4-or-1-8-5-to-ajaxsearch-1-9-0#dis-post-279450 jazzmatazz2005 Jun 18, 2010, 12:21 PM https://forums.modx.com/thread/48313/how-to-migrate-from-ajaxsearch-1-8-4-or-1-8-5-to-ajaxsearch-1-9-0#dis-post-279450 <![CDATA[Re: How to migrate from AjaxSearch 1.8.4 or 1.8.5 to AjaxSearch 1.9.0]]> https://forums.modx.com/thread/48313/how-to-migrate-from-ajaxsearch-1-8-4-or-1-8-5-to-ajaxsearch-1-9-0#dis-post-279449
about grpResult, that’s what i did first, ie nothing smiley but, having a look at my source code (i’m a bit obsessive about that...) i didn’t understand what was that opened div in my paging content. Then i’ve added &grpResultDef=`0` to my ajaxSearch call, same thing...
The only way i found out to have it disappear was to erase it in the grp template.
actually, i made a test before and replaced it by a p tag -> an opened p tag in the code smiley

just an example for you to see, if i use this in the template

[+as.grpResultsDef:is=`1`:then=`
<div>
[+as.headerGrpResult+]
[+as.footerGrpResult+]
[+as.listResults+]
[+as.footerGrpResult+]
</div>
`:else=`

with this call
[!AjaxSearch? &ajaxSearch=`0` &showResults=`1` &showInputForm=`0` &showPagingAlways=`1` &pagingType=`0` &grabMax=`10`!]

or
[!AjaxSearch? &ajaxSearch=`0` &showResults=`1` &showInputForm=`0` &showPagingAlways=`1` &pagingType=`0` &grabMax=`10` &grpResultDef=`0`!]

the resulting html will be
<p class="ajaxSearch_resultsInfos">36 résultats trouvés pour "<span class="ajaxSearch_highlight ajaxSearch_highlight1">scpi</span>".<span class="ajaxSearch_resultsDisplayed"> Affichés : 10</span></p>
<div>
<p class="ajaxSearch_grpResultName">
<span class="ajaxSearch_grpResultsDisplayed">Résultat(s) de 1 à 10 sur 36</span></p>

that opening div tag (which is not closed) only disappear if i erase it from the grpResult.tpl.html. Being a bit obsessive as i said i can’t prevent myself from erasing both the opening and the closing tags then, even if the closing one does not appear in the source code smiley

i must have missed something somwehere smiley and will have a closer look at all that as soon as the website i’m working on is finished

i must admit it’s my very first cms(f) website, i’ve been coding all and everything from scratch for 10 years and it’s new for me not to have written every single line of what i use then i’ve had to learn snippets, chunks, TVs, creating personal modules to manage specific contents (modx is really fantastic and surprisingly easy at that thanks to the ’a’ and module ’id’ vars...) and so on, in less than a month during the prod process... so, please, do forgive me if, sometimes, i use what i call "savage methods" to achieve what i’m looking for a bit faster than i should... laugh

Have swing]]>
virtualbear Jun 12, 2010, 06:10 AM https://forums.modx.com/thread/48313/how-to-migrate-from-ajaxsearch-1-8-4-or-1-8-5-to-ajaxsearch-1-9-0#dis-post-279449