Closed (fixed)
Project:
Taxonomy Super Select (TSS)
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
27 Oct 2008 at 12:51 UTC
Updated:
26 Nov 2009 at 19:33 UTC
Jump to comment: Most recent file
Comments
Comment #1
panji commentedSubscribe
Comment #2
matt_c commentedIs there any reason this patch hasn't been released on the main page as an official Drupal 6 version?
Comment #3
codexmas commentedAlas, I have tried three times now to navigate through the maze that is drupal CVS.
I absolutely and unconditionally hate it. I do it so infrequently that it takes at least an hour of reading to try and get back up to speed.
If someone wants to post a zip of the modified module I think I can handle that, or if you want to become a maintainer let me know.
Frustrately,
Gord.
Comment #4
merilainen commentedI tried to patch it in linux with a command "patch < -p0 tss_drupal6.patch" but I get error messages:
patching file taxonomy_super_select.info
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file taxonomy_super_select.info.rej
patching file taxonomy_super_select.module
Comment #5
matt_c commentedHi,
Has there been any progress on the D6 port?
Comment #6
niklp commentedNeed this so bad. Going to try out the patched version and see what happens. Need D6 though!
Comment #7
niklp commentedYou can replace the content of the .info file with the text below if the patch fails (it did for me, too).
I looked at the patch .rej file and it seemed a simple couple of fixes were all that's required, so here it is. Can't vouch for the actual module yet, still testing, but I can install it so far with this information corrected.
Comment #8
niklp commentedModule appears to work fine. Have tested with taxonomy of 800+ terms in hierarchical vocab. Good stuff!
Recommend this. [Edit: modification of .info patching notwithstanding]
[Edit2: fieldsets could use a little prettifying I think. Maybe just indenting the child terms that are not in a sub-fieldset. The indentation is somewhat confusing, going up and down like that]
Comment #9
chasz commented+1 subscribe
Comment #10
kenorb commentedPlease make some dump.
Comment #11
niklp commentedDump? Are you talking to me?
Comment #12
kenorb commentedTo anybody who can zip the whole module for review;)
I don't have any working patch tool.
Comment #13
njehlen commentedI applied this patch (and did the .info change manually) and while things seem to be working, I'm getting a "warning: Invalid argument supplied for foreach() in /public_html/modules/taxonomy/taxonomy.module on line 70." error each time I create content. Anyone else having this problem?
Comment #14
niklp commentedI don't have the above problem...
kenorb: Here's a *temporary* link - http://dl.getdropbox.com/u/72790/tss.tgz
Comment #15
Katou commentedAfter fighting with CVS for a few hours, I have uploaded the first release for Drupal 6.
Comment #16
kenorb commentedThanks NikLP.
And Katou, for commiting it;)
Now it's on the front page.
Comment #17
kenorb commentedAny reviews if this working correctly?
Comment #18
abu3abdalla commentedwarning: Invalid argument supplied for foreach() in C:\wamp\www\drupal\modules\taxonomy\taxonomy.module on line 70
Drupal 6.9
Comment #19
eresanto commentedre:warning: Invalid argument supplied for foreach() in ...modules\taxonomy\taxonomy.module on line 70
The problem with errors when adding a content can by solved by editing the taxonomy.module and adding some validation:
Solution from http://drupal.org/node/129915#comment-920303
After changing it should look like this:
Good luck!
Comment #20
martysteer commentedShouldn't modifying core modules be considered a problem rather than a solution?
Comment #21
summit commentedSubscribing, greetings, Martijn
Comment #22
dboulet commentedAlso getting the error from #18.
Comment #23
dboulet commentedHere's a potential fix for the PHP error, it uses
hook_nodeapi()to remove taxonomy terms with a value of zero from$node->taxonomy. These values are coming from checkboxes left unchecked in the node form.Comment #24
aasarava commentedI tested the patch and it works for me so far. Thanks! (Haven't thoroughly tested if it adversely affects anything else, but the error message is gone.)
Comment #25
dboulet commentedOk, looking back now, my last patch used the wrong approach—it makes much more sense to filter the terms in a form validation function.
Comment #26
coastwise commented#25 worked for me. Thanks for the effort!
Will keep an eye and post back if I see anything strange.
Aside: should this patch for the warning have its own issue?
Comment #27
prolific_one commented#19 worked for me! (I don't have super select)
Thanks!
Comment #28
natuk#25 worked for me as well in a D6 installation with super select. Thanks.
Comment #29
konrad1811 commentedI've got this too.
* warning: Invalid argument supplied for foreach() in /Users/konrad/Sites/drupal/modules/taxonomy/taxonomy.module on line 70.
* warning: Invalid argument supplied for foreach() in /Users/konrad/Sites/drupal/modules/taxonomy/taxonomy.module on line 70.
I see it after adding a term from checkbox list. Before I set my vocab to be checklist using super select I was using just regular list and there was no problem.
This error/warning only in preview.
Comment #30
eikes commentedComment #31
dboulet commentedFor continued discussion on the PHP warnings, see #371291: PHP Error when I click on Preview.