By Wassim Ghannoum on
Hello,
i'm searching for a module that allow user's of my site to Search by content type (the node content type)
they will enter a keyword, end then they will checkbox of the sepcified content type....
Hello,
i'm searching for a module that allow user's of my site to Search by content type (the node content type)
they will enter a keyword, end then they will checkbox of the sepcified content type....
Comments
This is build in to the core search module
This is build in to the core search module. Look at the advanced search page.
You need to give your users access to advanced search through permissions.
There are a few modules available which will let you customize the available functionality on the advanced search page. Browse through the list of search related modules.
Regards,
Christian Larsen
thanks for the reply, i've
thanks for the reply, i've looked at the adanced settings of search page, it contains (Indexing status,Indexing throttle,Indexing settings and Content ranking)....
how can i do this ?
Not advanced settings ... advanced search on search page
Assuming Drupal 6 go to example.com/search and look for advanced search. It should be right under the (simple) search form.
Here your users can build more advanced queries including limiting the search to specific content types. This is also available on the search result page you get after each performed search.
Just remember to give your users access to advanced search under example.com/admin/user/permissions and as I wrote in my first comment there are modules which let you configure what options are available under advanced search.
Regards,
Christian Larsen
ok, thanks it's ok, i've
ok, thanks it's ok, i've viewed it...
but how can i make the advanced search for the default, i won't to theme it like this (http://www.mediafire.com/imgbnc.php/9b85d5828ed49273be1196da71a22c596g.jpg) .
i'm trying to make the default search form advanced and contains the content type filter
It is doable
Have a look through the search modules. A solution may already be there.
If not I think a combination of theme and a module that invokes form_alter on the search form would do the trick.
There might even be a recipe for this in the Documentation section of this site. Look for How-to, module snippets, theme snippets and similar.
Regards,
Christian Larsen