Search Multiple (non string) Keywords Using C5 Search Block

Permalink
Hi!
I’m Currently Running 5.6.3.2 and just can’t get C5 to use more than one word (works fine with matching strings) in the search field.

Went through all the forums and tested many suggestions but to no avail. Also tried the

Extended Search add-on but it does not run on this C5 version.

Is there a way I can get C5 to use more than one word in the search engine?

Jack

 
hutman replied on at Permalink Reply 1 Attachment
hutman
Try putting the attached file in a folder /blocks/search/controller.php you'll have to remove the .txt from the file, the forums don't allow PHP file uploads.

On line 41 of this file you will see that what it does is it takes the query string that was passed in, breaks it out by ' ' into multiple search terms, and then filters on each term.

If you want to see the query that gets generated, on line 66 you can add

$ipl->debug();