Port to D6

KingMoore - January 21, 2009 - 04:04
Project:Organic Groups Facets
Version:5.x-1.0-beta1
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

Any plans to do this? Not sure how difficult it would be. I see that Faceted Search and CCK Facets both have 6x versions.

#1

David Lesieur - January 21, 2009 - 07:18

The port should be relatively easy. The main tasks:

  • Apply the patch in #273630: Compatibility with Faceted Search 1.0-beta4.
  • Change the $env_id hook argument to $env.
  • Check for data structure and API changes in OG that might need to be taken into account.
  • Update og_facets_form_alter() for Forms API changes.
  • Update the info file.

#2

KingMoore - January 22, 2009 - 05:35
Status:active» needs review

Okay I have a D6 version up and working. Here is the patch. Let me know if you have any problems with it. It took me ages to get my head around the $env, and checkboxes and og_facets_excluded_types($env) function.

AttachmentSize
og_facets_361848.patch 5.99 KB

#3

KingMoore - January 22, 2009 - 05:38

oops, that patch didn't include the .info file. Here is the full patch with both files.

AttachmentSize
og_facets_361848-2.patch 6.65 KB

#4

KingMoore - March 2, 2009 - 22:52
Status:needs review» fixed

This is now available in the 6x dev branch

#5

System Message - March 16, 2009 - 23:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.