Thanks that's helpful to know how to modify the search phrase.
I'm not sure how to output the search phrase above the results in the first place – so it outputs “Your search for search_phrase” above the results. I was thinking if I can access the function that returns the $phrase, then output it into the hook 'asp_add_header_data' that should work?
When i added the code above on its own, i get nothing returned and the whole results array comes back empty.
I can pass a test string into asp_change_search_phrase() and get that back, but can't seem to access $phrase itself.
I am running multiple search instances – any ideas?
- This reply was modified 2 years ago by luyendao.