*Help* Search block doesn't work

Permalink 1 user found helpful
I am using the standard search block and it only works intermittently. I've tested on different browsers and different computers without consistent results. I am assuming that others have run across this before. Thoughts?

Thanks in advance!

 
clovisusd replied on at Permalink Best Answer Reply 1 Attachment
I typically create a page called "Search" first. Then, make sure you add a "search" block to that same page.

Next, on any other page where you want a search block to appear, I add the "search" block and config like this (see attachment)
clfconcrete replied on at Permalink Reply
It seems like this works great! But now I have to have people test it. *crosses fingers*
Cahueya replied on at Permalink Reply
If you work with 5.6 you NEED to have JohntheFishs Search Block templates with all the options you need to display the Search Block.

Once you've set up the Search Page where the search results will be shown, you need to run the "Search Index Job" in System&Preferences>Automatic Jobs to actually index the contents of your pages for your Search Form.
clfconcrete replied on at Permalink Reply
Oh no! New problem, when someone searches for something, then attempt searching for something else, their original search comes up instead. So they search dental and get the correct results, then search vacation, and dental comes up instead. Closing out doesn't even seem to work.
Cahueya replied on at Permalink Reply
I suppose you have FullPageCaching active for this Search Page. turn it off.
clfconcrete replied on at Permalink Reply
All these suggestions worked. (However it seems I got my boss's search data stuck 'on' her page and it is showing the results no matter what we do) But we'll get that sorted out (I hope). THANK YOU all for your help!
JohntheFish replied on at Permalink Reply
JohntheFish
You also need to run the search index job, or the block won't have up-to-date search data to work with.
clfconcrete replied on at Permalink Reply
Could you explain that a little more? I'm not a pro at this by any means. I did some forum searching and goggling but I couldn't find anything concrete (pardon the pun)....
JohntheFish replied on at Permalink Reply
JohntheFish
See the dashboard jobs page. Type "Jobs" into the dashboard search.

The search block works from a pre-prepared index. There is a job that you run to create and update that index.
clfconcrete replied on at Permalink Reply
Is this something that will need to be done when there are any significant changes to the site? Or can you set it up to be done automatically?
JohntheFish replied on at Permalink Reply
JohntheFish
It needs to be run reasonably regularly, depending on how often you update pages or add new pages.
For 5.7, see
http://www.concrete5.org/documentation/using-concrete5-7/dashboard/...

There is an equivalent docs page for 5.6