*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!
Thanks in advance!
It seems like this works great! But now I have to have people test it. *crosses fingers*
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.
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.
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.
I suppose you have FullPageCaching active for this Search Page. turn it off.
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!
You also need to run the search index job, or the block won't have up-to-date search data to work with.
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)....
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.
The search block works from a pre-prepared index. There is a job that you run to create and update that index.
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?
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
For 5.7, see
http://www.concrete5.org/documentation/using-concrete5-7/dashboard/...
There is an equivalent docs page for 5.6
Next, on any other page where you want a search block to appear, I add the "search" block and config like this (see attachment)