Closed (outdated)
Project:
Taxonomy Switch
Version:
master
Component:
Code
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
15 Feb 2008 at 13:53 UTC
Updated:
24 Sep 2020 at 19:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
joel_guesclin commentedIt will almost certainly support D6 when D6 settles down and I start thinking about converting my own sites! Unless something better comes up in the meantime.
Comment #2
luisfeng commentedTaxonomy Switch is very cool module, and very useful, waiting for the 6 version!
Comment #3
that0n3guy commentedI have a site that uses this module. It is one of the last modules (I use 37 modules) on my site to do an update. Most modules have a beta version by now.
Any time frame on this?
Comment #4
joel_guesclin commentedAt the moment I am so overloaded that I will probably start thinking about this around January 2009. Sorry it is so long - if you want to try doing it yourself I would be glad to test a patch though.
Comment #5
momper commentedsubscribing
Comment #6
Brigadier commentedsubscribing
Comment #7
Brigadier commentedNot sure if this helps but I gave the latest release for D5 a quick run through Deadwood, made a minor tweak or two and made a patch. It gives me an error on $vid_from after selecting the vocabularies but it's possible there's an issue on my development site too. Anyway, hope this helps.
Comment #8
Brigadier commentedOkay, I couldn't leave it alone. Besides the changes Deadwood made in the previous patch, I also had to change calls like
to
Apparently the name of the taxonomy module hook changed in Drupal 6. I don't know if any other module_invoke() calls need to change, but I made the module work for my site with the changes in the attached patch. Again, this patch is against the current Drupal 5 release version of the .module file (the .info file just needs a minor change to say it works with Drupal 6).
I've also attached the .info and .module file for people who want to try it out but don't know how to apply a patch but want to help test. (Don't use these on any data you care about.)
Oh, and there are some TODO comments in there that Deadwood made. I left them in because I don't know the correct way to fix them yet.
Comment #9
Kripsy commentedI've tested the patch and so far everything works fine.
Comment #10
momper commentedi tested with some taxonomies - no problems so far ...
Comment #11
caillou commentedsubscribing
Comment #12
mean0dspt commentedthanks, this patch worked
Comment #13
joel_guesclin commentedThanks very much for this - I will try it out and put up an official version as soon as possible
Comment #14
jordanka commentedcan you pls explain how to test it? I have Drupal 6 site, and I need this module asap.
Comment #15
mean0dspt commented-Download files from comment #8
-rename the two of them, removing .txt part from the end of the file (thus changing file extension to .module and .info)
-create new directory named "taxonomy_switch" at sites/all/modules and upload files there
-enable module in a usual way
-start using through new tab in admin -> taxonomy
Comment #16
jordanka commentedit works perfectly on my Drupal 6.9
Thanks.
Comment #17
rkdesantos commentedI don't get the "classify" tab on v6.9.
Comment #18
luisfeng commentedI don't get it either....
Comment #19
avpadernoComment #20
asb commentedsubscribing
Greetings, -asb
Comment #21
joel_guesclin commentedDoes your user have "administer taxonomy" permission? If not you will not see the tab
Comment #22
rkdesantos commentedI don't get the tab even running as user 1. I verified that the admin users have "administer taxonomy" permission and still no "classify" tab.
Comment #23
subir_ghoshI don't get it on D6.12 either.
Comment #24
subir_ghoshI think D6 itself has settled down quite well. The major set of modules like CCK, Views have settled down too. On the other hand, many D5 modules are no longer being worked on.
Comment #25
macrodesign commentedplease help, i need to use taxonomy switch for 6.12 how can i do that, above comments are too tech-savvy. thanks
Comment #26
rkdesantos commented@macrodesign: if you can't follow this discussion it is probably best that you do not attempt to use the "test" version for D6 in this thread. It is not even at the level of "beta" software at this stage and as such not safe to use unless you are sure of what you are doing and take necessary precautions (backups, etc.) Hopefully, the maintainer(s) of this module will see fit to move things along further soon and get a version out there that can be more widely tested and used.
Comment #27
macrodesign commentedThanks RK, i will wait for a D6 release than.
Comment #28
petednz commentedJust used files available at #8 - all good so far (ie have been able to switch terms of VocabA to VocabB)
@macrodesign
If you are okay uploading a module, and you have a test site to try it on, all that is required AFAIK is to download the files from #8 - rename those files so they don't have .txt at end, ie
taxonomy_switch.info
taxonomy_switch.module
stick in a folder (for tidiness sake) upload folder to your site and enable (and give permissions if required) - worked for me
pretty much repeating what #15 said ;-)
Comment #29
macrodesign commentedThanks peted, i will surely give it a try
Comment #30
joel_guesclin commentedFor all those who want a true taxonomy switch in D6, can I suggest using Taxonomy Manager? See this post about Taxonomy Manager for details. I would be interested in feedback - if it works then I will deprecate taxonomy_switch.
Comment #31
mean0dspt commentedcurrent stable version of Taxonomy Manager doesn't have such functionality yet. So it's way to early to deprecate Taxonomy Switch. We should at least wait for stable release. Then we should see if it'll be implemented for D5 Taxonomy Manager.
Comment #32
rkdesantos commentedI agree with mean0dspt.
Comment #33
damienmckennaCould someone please explain what features are missing from Taxonomy_Manager to cover the needed features from Taxonomy_Switch? Thanks.
Comment #34
naught101 commented@DamienMcKenna: well, the "classify" tab is actually pretty cool. Possibly it could be made into a separate module, because it doesn't really fit in Taxonomy Manager...
The other main feature is now in taxonomy manager: #269341: Move term into other vocabulary.
Comment #35
asb commentedHi,
actually the "classify" tab is a lifesaver for me on several D5 sites where - for whatever reason - the taxonomy fields disappeared from the node editing forms. I would really, really miss it - not only on those D5 sites.
Maybe Taxonomy manager could bundle the "classify" tab as an optional sub-module (if there's code that can be shared)?
Greetings, -asb
Comment #36
rkdesantos commentedI agree with asb. The classify tab is incredibly valuable.
Comment #37
kansaj commentedok try this I thnik is working. Do mot forget to clear the cahe.
Comment #38
rkdesantos commentedIs the content in #37 intended as a full replacement for the module code in #8 or as a patch to it?
Comment #39
kansaj commentedDepends on your wish you van use it as a standalone module, or as a patch. It works in both ways.
Cheers
Comment #40
joel_guesclin commentedI will try to find some time to test this. If it works ok for me then I will make it a standalone module to replace the present one, since the rest is handled by the Taxonomy Manager module
Comment #41
kansaj commentedHi in case you are goiing to try it please use the code bellow. I forgot to include the function which declares the permission :)
Comment #42
asb commentedHi kansaj,
I tried the code from #41; I created a directory
./sites/all/modules/taxonomy_switchand put the code into a filetaxonomy_switch.moduleinside this directory.After flushing the caches, the module doesen't show up at ./admin/build/modules. To be identified by D6 as a valid module, at least taxonomy_switch.info and taxonomy_switch.install files would be needed IMHO (I don't know if other files are missing, too).
Greetings, -asb
Comment #43
avpadernoOnly taxonomy_switch.info, and taxonomy_switch.module are required for a module to be identified as a Drupal 6 module.
Comment #44
kansaj commentedOk
So the code was not intended to be used as a standalone module. It was supposed to be tested and thereafter to be included in a module. Please download the uploaded file and use it. I think it works :)
Comment #45
asb commented(Damn, d.o ate my reply with a "Guru Meditation" from varnish).
So once again in short: Thanks for the new packaged version; several files seem to belong to another module (from README.txt: "Allow to export views data to excel"). After manually renaming taxonomy_switch.info.txt to taxonomy_switch.info the module shows up at ./admin/build/modules.
However, after clearing the caches through 'admin_menu' on my nodes no "Classify" tab shows up. Sorry.
Thanks & greetings, -asb
Comment #46
kansaj commentedHi
Sorry for the mess file. Please find the real file attached bellow. Pay attention to the newly introduced access.
cheers
Comment #47
kansaj commentedHi, So i think we should check http://drupal.org/project/tagging . I think really nice concept :)
Comment #48
rkdesantos commentedThe version in #46 seems to work nicely (alongside taxonomy manager).
Comment #49
asb commentedHi,
confirming, that #46 works as advertised. Changing status to RTBC.
Greetings, -asb
Comment #50
naught101 commentedIs there anything that this classify tab will do that the Tagging module in #47 can't already? if not, this issue should probably be closed.
Comment #51
asb commentedYes; the patched module from #46 works as advertised, the 'Tagging' module does not yet, at least not out of the box. Getting a official release for the 'Taxomony Switch' fro D6 would at least bridge the time until 'Tagging' becomes production ready.
Greetings, -asb
Comment #52
nancydru@Brigadier: One should only use "module_invoke" for hooks. For example,
module_invoke('taxonomy', 'vocabulary_load', ...);is actually wrong (although it does work); it should be a simple API function calltaxonomy_vocabulary_load(...);. If it had been coded properly, Coder would have flagged it for you right off the bat. Oh, and it executes faster too.Comment #53
yngens commentedsubscribe
Comment #54
avpadernoI see that some modules use
module_invoke(), instead of directly calling the function to avoid to first verify if the function exists, and then call the function.IMO, it's conceptually wrong to use
module_invoke()for functions that are not actual implementations of hooks.Comment #55
avpadernoI am closing this issue, since it's for a not supported Drupal version.