0

Is it possible to add arguments from $_GET to the core search? For example:

search/term1/mystring

This search page should show results that have the "term1" term. Like views, but I've to add this function to core search :)

1

certainly possible.

http://api.drupal.org/api/drupal/modules!search!search.api.php/function/hook_search_preprocess/7

Check out that function.

  • But this function only preprocess keys for the search, I have to add filter to the query – arrubiu Jan 9 '13 at 7:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.