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
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
Oh that is awesome news! Thanks very much!
#3
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 :)
#4
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
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..
#6
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 :<?phpprint_r($object->{$fid});
?>
Array
(
[0] => Array
(
[value] => pressovoe
[format] => 0
[safe] => pressovoe
)
)
And we setting the
$tokensvariable but function returns the$valuesvariable!#7
bump
#8
Maybe there are a time to release a 6.x version, dev or stable version?
#9
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
subscribe
#11
Subscribing, will the D6 dev version be available soon please?
Thanks for all your effort!
greetings,
Martijn
#12
subscription
#13
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
#14
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
Or http://drupal.org/project/taxidermy ?
#16
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
subscribe - interested in helping
#18
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