Implementing a catalogue with a filter exposed

Hello all,

I am new to this site. I was looking for some help regarding how to create a catalogue page with a filter. I want to implement a page where there is a text box to type something in and a drop down box which will contain a list of entries such as the following: call number, author, title, year of publication, etc... So basically someone coming to this site would select what he/she is looking for from the dropdown box (select list) and type in something in the search box and press the button. If the result was found it should display that entry below the filter or on a new page. I noted that many of the library websites listed on this site have done this already for their websites. Ideally I want something like https://beta.lib.muohio.edu/drupal/

I have installed cck and views. I created a new content type called resource that contains all the fields I wish to store information about. I have tried to create a view and I managed to create one but it does not have the proper filter I seek. It displays my resource type but not formatted the way I wish (I guess I need help with theming as well). I picked up the book pro drupal development, however, it talks about version 5 and my drupal version that I am running is 6.3 so the book's code does not work entirely with this version. I am a programmer coming from OOP world and I am having a hard time grasping the world of drupal.

Any suggestions would be greatly appreciated.

LinuGuru

Manage data totally within Drupal?

Hi LG,

Do you want to manage all the data within Drupal or do you want to use 'redirect' the user to an external catalogue? The Miami U site uses a custom module to index all its catalogue data in Solr and then hook the Drupal front end into that index. There are other approaches to integrating catalogue data into a Drupal instance, such as the Millenium module and the MARC module, but AFAIK they don't offer fielded searching like the Miami site. The first module is specific to the Innovative Interfaces integrated library system, the second is more general.

If you simply want to redirect users from a form on your drupal site to an external catalogue, let us know since there are several approaches to doing that.

Ideally, manage data in drupal

Hello,

thanks for the input; it is much appreciated. We wanted to manage the data in drupal. Our hope was to have someone enter in the data via create content in drupal. I made a resource content type with all the fields which are essential. Basically, all we want to do is to keep a catalogue of where certain books are found in our university's library - the catalogue must be able to filter/search. This page would be found on our website.

If the site was redirected to our library would we still have a way to search based on our fields in the resource content type, or would that be over rided by our libraries page?

Thanks again
LinuxGuru

Field indexer module sounds like what you want

http://drupal.org/project/field_indexer sounds like it can do what you want, but it's for Drupal 5 only at this point. AFAIK, that's the closest there is to a "search form construction kit" to allow fielded searching of CCK fields. There's been discussion of this on the Drupal forums.

If you set up a form on your drupal site to search your library catalogue, you could base it on something like the outdated Simple Remote Search module (update to 5.x and call for more input at http://drupal.org/node/269571). Basically all it does is construct a GET URL to your catalogue and hand over searching and display to it, so it would not search your custom content type nodes back on your drupal site.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.