By shashi_bi on
Hi
i installed the moviereviews module, i need a search like
i) user can select the value from drop down like title, actor,director,location,etc.,
ii) In text box user enters the search string
suppose user selects the "title" in drop down enters the movie title in text box "xyz movie" . it should search for the title whose title is "xyz movie"
can any one please guide me.
thanks
bsk
Comments
Customized HTML Search
Customized HTML Search box
This is a User-search which has `Joe' as the default name in the box
This is a Node-search (content) which has `win' as the default name in the box
I'd suggest you use an HTML editor to create a drop-down menu, or create a Custom Block to display this search boxes
For Advanced Search (Drupal core search.module) only specific module, use link like this
http://******/?q=search/node/win+type%3Avideo
Where `win' is the default search only in `video' module
Change video to the name of that module `moviereviews'
Customized HTML Search box
Hi Guy
Thanks for your guidence.
now when the user clicks on submit button, by default it is searching in the moviereview. i have one
more doubt
in search box am adding another drop down with values(title, actors, director, ...etc.,), when the user
selects the value from the drop down and he enters search string in textbox, the search function should
search the movie whose drop down value has the search string.
eg: when i select the "hero" in drop down enters the search string as "Guy" it should display the whose
movie title is "Guy". please guide me. any help would be appreciated.
thanks
bsk
Copy the Drupal modules
Copy the Drupal modules page
You will see the drop down menu selecting Drupal versions
Now you only need to use HTML editor like Mozilla Composer or NVU to get the drop-down menu and discard the rest
I think thats about how I would do it.... :) Normally I just use whatever modules available from Drupal.org
Combining the drop-down menu and search string - I have never done it but this is interesting and I might be working on it and I will show you if one (and you can also showcase your stuff here)
Drop down search box for drupal 6
i would like to have drop down menus to select items before the user enters text in search box.for example i need a drop down list for subjects which drops down all the subjects,a drop down list for authors and another drop down list for books.after selecting from these categories the user can enter text in his search box.is there is any module present in drupal 6 or i have to code.if i have to code please give some guidelines and how to start.thanks.
resolution?
can you please show how you resolved this? where should the code go? how to include it on the search page and in the coded search itself?