Hi Coroico,
about grpResult, that’s what i did first, ie nothing
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
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
i must have missed something somwehere
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...
Have swing