Closed (won't fix)
Project:
Search Keywords
Version:
5.x-1.0
Component:
Code
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Jun 2008 at 11:30 UTC
Updated:
3 Feb 2013 at 17:54 UTC
I had been using Drupal 5.7. I had created modules like moviehome.module and page page-moviehome.tpl.php .
I need to implement search functionality on this page say need to search movies from Db.
So how i can implement search mechanism in moviehome.module or page-moviehome.tpl.php file.
I had created hook
function moviehome_search($op = 'search', $keys = NULL)
{
}
in moviehome.module but dont have idea about to call this and where to code so that search results will
appeared on my page.
Does i need to create another page for showing search results? If so then how i can?
Comments
Comment #1
sszalla commentedAre you using the Search Keywords module? Reading your post your questions seem to have nothing to do with this module.
To implement a simple custom search page for single content types I used the Views and Views Fast Search modules. I suggest you check them out.
Comment #2
jitendra_k commentedYes,
I am using hook in moviehome.module but Dont Know how to use it or what things need to do and show the results. I use the Search Keyword module itself given by Drupal.
Please suggest..
Comment #3
duaelfrThis version of Search Keywords is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.
This issue has been automagically closed by a script.