&tvPhx=`tv:displayTV`
[!AjaxSearch? &ajaxSearch=`0` &debug=`3` &tplResult=`AjaxproductList` &tvPhx=`tv:displayTV` &parents=`14` &depth=`1`!]
<div class="product_list_odd">I get nothing for the custom tv. Please help!
<div class="product_list_content">
<h3><a href="[+as.resultLink+]">[+as.pagetitle+]</a></h3>
<p>[+as.summary+]</p>
</div><!---product_list_content-->
<div class="product_list_info">
<div class="product_list_img">
<a href="[+as.resultLink+]"><img src="[+as.product_image_thumb+]" /></a>
<div style="width: 100%; height: 1px; clear: both;"></div>
</div><!--product_list_img-->
</div><!--product_list_info-->
<div style="width: 100%; height: 1px; clear: both;"></div>
</div><!--product_list_odd-->
I am having the exact same problem and could use another nudge in the right direction. I’m sure my mistake is something stupid.In fact this is the implementation of the feature tvPhx that is stupid !!!
and It would be better to get any value of TV linked with the document found
not only those which contain the searched term, find as a quick fix, a new version of the search.class.inc.php file. Replace the existing file locating in the ajaxSearch/classes folder with this file. With this fix you will get all TVs linked to the document found
works perfectly, by the way, is this suppose to be added on the new AjaxSearch snippets? because the 1.8.3 version doesn’t work with tv’s, even the tv values are used as the search term.
because the 1.8.3 version doesn’t work with tv’s, even the tv values are used as the search term.A example, try to search "japon" as search term on this demo page. You get only the Kanji page which is tagged with "japon".
. Should I upload your ’search.class.inc.php’ file. Will this ensure that 1.8.3 shows TVs within the results?[!AjaxSearch? &ajaxSearch=`0` &parents=`22` &AS_landing=`43`!]
<div class="ajax_search_box"><!-- begin .ajax_search_box --> <a href="[+as.resultLink+]" title="[+as.pagetitle+]">[+as.pagetitle+]</a> <p>[+as.extract+]</p> [[Ditto? &documents=`[+as.id+]` &tpl=`ajax_search_thumb_tpl`]] </div><!-- end .ajax_search_box -->
<img src="[+img_01+]"/>