Allowing for quotation marks in the search module. Hi everyone,
I'm working on a mambo 4.5.1 project at the moment and the search component isn't working the way everyone would like. I was wondering what the easiest way is to get the mambo search module and component to handle quotation marks. By that I mean that if I enter in the search box:
tourist "great wall of china"
it searches against 2 criteria. ie "tourist" and "great wall of china". As it stands, it will strip out all special characters and replace them with their php equivalent ie:
tourist \"great wall of china\"
This will return a search against all five words individually. I would still like to pass it in as Any words but have "great wall of china" be treated as one word.
I really like mambo and have been getting on with it pretty well up to now but I'm ashamed to say this one has me stumped. I love the forum too but couldn't find a similar query on it. Maybe I just didn't look hard enough. Any ideas?
Thanks,
JonBoy. |