I’m trying to display template variables in the search results. The following code in result.tpl.html is working fine when I’m setting ajaxSearch=’0’
[+as.extractShow:is=`1`:then=`
<div class="[+as.extractClass+]">[[easy2? &gid=[+as.ObjectImageGallery+] &tpl=`asResult` &thumb_tpl=`asResultThumb` &w=100 & h=100 &limit=1]]
[+as.extract+] </div>
`+]
but it won’t display the value for [+as.ObjectImageGallery+] when I’m using the same code in ajaxResult.tpl.html and I’m setting ajaxSearch=’1’. Neither will it use the template parameters that are specified in the easy2 call, but it does use the width, height and limit parameters.
Is this a known issue of am I doing something wrong?