on your landing page:
[!AjaxSearch? &ajaxSearch=`0` &tplResult=`tvphxResult` &tvPhx=`tv:displayTV`!]
and as tvphxResult chunk for instance:
<div class="[+as.resultClass+]">
<a class="[+as.resultLinkClass+]" href="[+as.resultLink+]" title="[+as.longtitle+]">[+as.pagetitle+]</a>
[+as.descriptionShow:is=`1`:then=`
<span class="[+as.descriptionClass+]">[+as.description+]</span>
`+]
[+as.img1Show:is=`1`:then=`
<div class="[+as.img1Class+]"><img href="[+as.img1+]"></div>
`+]
[+as.extractShow:is=`1`:then=`
<div class="[+as.extractClass+]"><p>[+as.extract+]</p></div>
`+]
</div>
If
img1 is the name of the Tv which contains the image file name, then you will get:
[+as.img1+], [+as.img1Show+], [+as.img1Class+] and you need to use ajaxSearch_resultImg1 (With an uppercase letter for img1) as css class to style your image:
====================================================
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)
====================================================
Otherwise, I am interested by visiting Wales ...