Refine by taxonomy: D6 port via Deadwood-module

motto - August 26, 2008 - 22:41
Project:Refine by taxonomy
Version:HEAD
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:needs work
Description

Hi folks,

I used the deadwood module to convert the old refine_by_taxo module so that it is compatible with D6, because I needed it so badly. Astonishingly it works fine with me. Deadwood changed only minor things: corrected function calls for taxonomy_vocabulary_load() and the url() function. I would call it unstable, but only because I didn't have the time to test it properly.

Regards, Matt

AttachmentSize
refine_by_taxo.tar.gz9.71 KB

#1

Bèr Kessels - September 3, 2008 - 18:37
Status:needs review» active

this is not a patch. http://drupal.org/patch/create

#2

Rosamunda - September 13, 2008 - 20:18

I would need this module too for my D6 site... if it´s not a patch... what is it? Could it be used in a production site? What does Bér thinks of it?
What about the security announcement?

BTW, I´ve tried it on a test D6 site and seems to work just fine. I´m just worried because I need it for a production site, and I´ve recently find that security announcement...

#3

no2e - September 14, 2008 - 16:09

I'm interested in it, too.

#4

Rosamunda - September 14, 2008 - 20:42

There´s this other module (Faceted Search [D6 version is being worked out]), but I think isn´t as easy as Refine by Taxo is.

#5

no2e - September 24, 2008 - 19:45
Title:D6 port via Deadwood-module» Refine by taxonomy: D6 port via Deadwood-module

#6

zirvap - February 22, 2009 - 13:30
Status:active» needs work

I've made a patch of the version posted by motto. This is the first patch I've made, if I did any mistakes I'd be happy for pointers on what do to differently next time.

I've tried it (briefly, with a very small vocab), and it works. Demo at http://www.pvv.ntnu.no/~zirvap/sandkasse/

Coder module had the following comments:

  • Line -1: @file block missing (Drupal Docs)
  • Line 1: Include the CVS keyword $Id$ in each file. This should be in the format // $Id$ or // $Id$ (Drupal Docs)//$Id: refine_by_taxo.module,v 1.9.2.2 2008/08/26 16:30:00 Exp $
  • Line 167: string concatenation should be formatted without a space separating the operators (dot .) and a quote $replacement = '$0' . $splitter . $refine_tid;
  • Line 193: string concatenation should be formatted without a space separating the operators (dot .) and a quote $sql = db_escape_string('SELECT DISTINCT tn.tid FROM {term_node} tn INNER JOIN {term_data} td ON td.tid = tn.tid WHERE' . $conditions);
AttachmentSize
refine_by_taxo_d6.patch 5.68 KB

#7

GiorgosK - September 27, 2009 - 08:40

Yet another module you can try with similar functionality
http://drupal.org/project/taxonomy_filter

 
 

Drupal is a registered trademark of Dries Buytaert.