Hallo,
Ik ben bezig met een drupal site.
Nu wil ik graag ervoor zorgen dat de zoekfunctie in een bepaalde tabel van de gekoppelde database zoekt. Hoe doe ik dat? Is er ergens waar ik de zoekfunctie doormiddel van PHP kan aanpassen ofzo?
Alvast bedankt,
Kevin
http://api.drupal.org/api/function/hook_search/6
Try this solution
Enabled the default search module and Write query for the specific table in the search.module file.
function search_form(&$form_state, $action = '', $keys = '', $type = NULL, $prompt = NULL) {
}
Regards
Karthick
www.module-node.com