I have the ajaxsearch call at the top of my page, Im using non ajax, when I search and it hits the landing page, next to the search box it says
There were no search results. Please try using more general terms to get more results.
Even when it finds stuff! The message should appear next the the call on the landing page, not next to the form input box, and when it finds something it should not appear at all
[!AjaxSearch? &ajaxSearch=`0` &AS_showForm=`0` &depth=`5` &addJscript=`1` &extract=`1` &grabMax=`50` &AS_showResults=`1` !]
Anyone else had this problem?
Sorry my bad, used on my search form
I hate mondays
ss
On the page where you want the search form, I have:
[!AjaxSearch? &ajaxSearch=`0` &AS_landing=`5` &AS_showResults=`0` !]
On the page where I want the results to be displayed (ID=5), I have:
[!AjaxSearch? &ajaxSearch=`0` &AS_landing=`5` &AS_showForm=`0` &grabMax=`10` &highlightResult=`0`!]
But I still don’t get any results returned. I have only a couple of pages on the website, and the word I search for, I know is on the home page - but nothings displayed!
I’m no expert but try adding
&AS_showResults=`1` &advSearch=`allwords` &whereSearch=`content,tv`
You dont need the &AS_landing=`5` on the landing page
doh! I feel your pain, we have all been there, I`m there most of the time!