Drupal 6? port available for branching

mh86 - September 8, 2008 - 22:37
Project:Taxonomy Enhancer
Version:5.x-2.x-dev
Component:Code - Taxonomy Enhancer
Category:task
Priority:normal
Assigned:Unassigned
Status:reviewed & tested by the community
Description

Hi Nicholas!

I'm currently at the EOL Taxonomy Code Sprint (http://sprint.eol.org/) and we have been looking at your module.
I just wanted to ask if you have any plans for a drupal-6 version?

Matthias

#1

mh86 - September 9, 2008 - 19:16

Just to let you know, we started working on porting the Taxonomy Enhancer.
As soon as we are having a working version, we are going to post the patch here.

#2

nicholasThompson - September 11, 2008 - 08:19

Oh that is awesome news! Thanks very much!

#3

mh86 - September 11, 2008 - 18:32
Version:5.x-1.x-dev» 5.x-2.x-dev
Category:support request» task
Status:active» needs review

Hi!

The posted patch includes our current efforts in porting this module.
The port includes several new features:
* additional integration of the form in the taxonomy manager (have to commit some changes there too)
* the taxonomy_enhancer_text supports multiple values now
* additional widgets in the text module: select list, checkboxes/radio buttons

We didn't have time yet to do much testing, but it seems that it basically works.

If your are interested in the things we have been doing (or are doing) at this code sprint see http://groups.drupal.org/node/14749 for more information :)

AttachmentSize
taxonomy_enhancer_d6.patch 38.8 KB

#4

dman - September 20, 2008 - 04:49
Title:Drupal 6?» Drupal 6? port available for branching
Status:needs review» reviewed & tested by the community

I'm working with this ported version (I was also at the code sprint) and needing it in the real world.
I have some incremental tweaks I'd like to see (including allowing mixed-case in the field names - there is a reason for this in RDF/Semantic/DC metadata) but we should get this first roll branched in. Please? just make a D6 dev branch...

There are some odd issues with the way it creates the fields (textarea not textfield by default on a new config, but switches to textfield once you edit/save once) but we'll look at that as it goes...

In other news, we've been addressing ways of solving the hook_taxonomy_term_load/save failings. in D7 at least there will be a proper API for doing what we need here. Hopefully we can backport something to d6 also. Currently it's still a bit ad-hoc, as you know.

#5

tuti - September 30, 2008 - 23:34

I applied the patch and got some errors with the info files so I went in and did them manually. I've attached the patched module including the info files that I did manually.

It would be great to have a "official" 6.x dev build though so you won't have to dig through the issues to get it..

AttachmentSize
taxonomy_enhancer with D6 patch.zip 27.47 KB

#6

Murz - October 14, 2008 - 07:06

Latest patched module don't want to replace tokens on my site (Drupal 6.5). It replaces the tokens with empty values!
I think it is because the field format is changed and module try to set the array to token.
We need to change the string in function taxonomy_enhancer_token_values() from

<?php
        $tokens
['te_'. $fid] = isset($object->{$fid}) ? $object->{$fid} : NULL;
?>

to
<?php
        $values
['te_'. $fid] = isset($object->{$fid}) ? $object->{$fid}[0]['value'] : NULL;
?>

because $object->{$fid} on my site always is array like this :
<?php
print_r
($object->{$fid});
?>

Array
(
    [0] => Array
        (
            [value] => pressovoe
            [format] => 0
            [safe] => pressovoe
        )

)

And we setting the $tokens variable but function returns the $values variable!

AttachmentSize
taxonomy_enhancer with D6 patch_2.tar_.gz 15.12 KB

#7

dman - October 19, 2008 - 00:11

bump

#8

Murz - October 29, 2008 - 09:51

Maybe there are a time to release a 6.x version, dev or stable version?

#9

Benjamin Melançon - October 31, 2008 - 20:52

Also confirming that Matthias's patch in #3 works, so long as you use the "-p0" flags to apply it: patch -p0 < taxonomy_enhancer_d6.patch. I haven't run into the token issue, but as #3 is a working patch it would be great to have it in to create the Drupal 6 branch, and then we can bugfix and add features against that.

As I also need this for a client, and would like to be involved in moving some of its features to core, I would be happy to comaintain to help out with the D6 branch (although either dman or mh86 would be better, if they're willing!).

benjamin, Agaric Design Collective

#10

andypost - November 21, 2008 - 19:09

subscribe

#11

Summit - January 18, 2009 - 16:13

Subscribing, will the D6 dev version be available soon please?
Thanks for all your effort!
greetings,
Martijn

#12

jpfle - February 19, 2009 - 16:54

subscription

#13

NickSI - February 21, 2009 - 17:35

Patch proposed in #3 extends taxonomy_enhancer_value_text, adding field "delta", but does not provide update function for taxonomy_enhancer_value_text table. I have atatched full patch from D5 to D6 with error fixed

AttachmentSize
te_d6.patch 37.33 KB

#14

Jeff Burnz - March 9, 2009 - 01:37

Is the D6 branch likely or is the effort now focused on http://drupal.org/project/term_fields as suggested http://drupal.org/node/365489

#15

Benjamin Melançon - March 10, 2009 - 18:08

#16

Summit - March 10, 2009 - 22:41

Hi,

Isn't taxidermy not a completely different scope? Isn't this about getting extra fields on the taxonomy terms?
I think it would be great to first get Taxonomy enhancer as is on D6, and then may be integrate with other initiatives? Right?
Just my humble opinion.
Thanks in advance for considering getting taxonomy enhancer on D6!

Greetings,
Martijn

#17

tirsales - April 8, 2009 - 14:55

subscribe - interested in helping

#18

Summit - October 7, 2009 - 07:42

Please build the D6 branch, so we can move further from that point!

EDIT: Any progress in building the D6 branch? I am thinking of using this module on a D6 installation. But it needs to have a branch than in my opinion to move further from that, right?

Thanks in advance!
greetings,
Martijn

 
 

Drupal is a registered trademark of Dries Buytaert.