Hi,
I would like to know how to exclude certain pages such as sitemap, newsletter signup, etc from my Ajaxsearch results.
I have looked through the various parameters but could not find one that seems applicable.
I am using the AjaxSearch 1.7.1 in non-ajax mode.
Any help appreciated
Thanks
w
Couldn’t you just append / insert something like
if(isset($excludeDocs)) {
$sql .= " WHERE sc.id NOT IN(’$excludeDocs’)";
}
somewhere? (e.g. &excludeDocs=`5,23,56,234`)
ganeshXL
Thanks for the info. Being just a beginner at this still I added the &excludeDocs=`70,76,78` suggestion into the AjaxSearch call string on the results page? But not sure how to add or where your:
if(isset($excludeDocs)) {
$sql .= " WHERE sc.id NOT IN(’$excludeDocs’)";
}
in the AjaxSearch 1.7.1 snippet.
Thanks
w