I am using Drupal 6.2 on a WAMP platform and would like to use the Faceted search module for my website. Since there is no Drupal 6.x version of this module i have tried to convert the module from 5.x to 6.x by fixing the issues reported by the "Coder 6.x" module. I am however not able to get module installation working and the facet_search_variables table never gets created. I am also facing some more minor issues in the code. Would like to hear from anyone who is interested in porting this module to Drupal 6.x

Attaching the faceted search 5.x source code files that i have modified for getting it to work with Drupal 6.x

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

chuntley’s picture

You might want to take a look at #219095: Port Faceted Search to Drupal 6.

David Lesieur’s picture

Yes, please join forces and help a single patch getting finished. :)
How is your patch different from that other one? Can they be merged?

Thanks!

Siddharthp’s picture

FileSize
89.29 KB

Hey David,

I was away for a few days, could not check your response. I just went through the post regarding the 6.x patch, good to know that someone else is already working on the same stuff. When i decided to port the module to 6.x i was not aware that this is already a work in progress and hence started the porting process from scratch. My Module contains the following code changes for the following

1. Accommodating New Menu System (change in hook_menu parameters)
2. Accommodating New Theme System (registration of all themes using hook_theme)
3. Accomodating changes to the form API (passing additional form state parameters to forms loaded by "drupal_get_form", addition of Form_state parameters to form alter functions)
4. Using Schema API for module installation.
5. Addition of functions "_element_sort" and converting db_next_jd to db_last_insert_id.

There are some more fixes that i have made in the code since my last post, attaching the latest code that i have. I'll take a look at the drupal 6 patch you guys are working on. I need to get this module up and running for my site in the shortest possible time and will be glad to help out in accelerating the porting process.

-S

David Lesieur’s picture

I'm looking forward to a merge of your work with the existing patch. Also, please provide patches instead of zip files, since that makes the review process much easier (that is also the standard Drupal development practice). Thanks!

David Lesieur’s picture

Version: 5.x-1.0-beta3 » 5.x-1.x-dev
Status: Active » Closed (duplicate)

Also make sure to work against the HEAD version if that's not the case already. Now marking this issue as duplicate, since follow ups should go in the original #219095: Port Faceted Search to Drupal 6 issue. Thanks again!

Siddharthp’s picture

I'm very new to drupal development and am not quite sure about working with the drupal CVS, thats the reason i was not able to create the patches in the first place. I however ran a manual code compare and found that code changes i made and the ones provided in the patch (in the original port to drupal 6 link) are just a subset, so merging may not be necessary.

Now that i have the module working on drupal 6, I am looking for some kind of "how to" documentation for this module that will allow me to quickly create facets for my website. Please let me know if there is something apart from the documentation provided in the code. I'd also like to take time off and help in the creation of the drupal 6 patch, do let me know if there is anyway that i can help.

dark-o’s picture

I just release Drupal 7 module that may be of interest, it is similar to faceted search but with clean url's:
Taxonomy Facets
http://drupal.org/project/taxonomy_facets