Hello,
we can’t get the template variable placeholders working with AjaxSearch 1.8.0. in non-ajax mode at the results page. They’re just outputting blanks. Using the default ajax mode with &tvPhx=`tv:displayTV`, these placeholders seem to be working fine.
Here’s the non-ajax snippet call at the result page:
[!ajaxSearch? &grabMax=`5` &ajaxSearch=`0` &tplResult=`SearchResultTemplate` &tvPhx=`tv:displayTV` &language=`finnish-utf8` &AS_showResults=`1` &AS_showForm=`0`!]
And here’s a test clip from the SearchResultTemplate chunk used above, using two tvs, EventTitle (text) and EventContent (richtext):
<div class="[+as.resultClass+]">
<a class="[+as.resultLinkClass+]" href="[+as.resultLink+]" title="[+as.EventTitle+]">[+as.EventTitle+]</a>
<div>[+as.EventContent+]</div>
</div>
The non-ajax tests for 1.8.0 at
AjaxSearch documentation site do not contain tvPhx-test for non-ajax calls. Is this even implemented with non-ajax calls?
Has anyone else had a problem with this?