Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
why can i not hide the free tagging vocabs?? is there any other mods that can do that?
Comment | File | Size | Author |
---|---|---|---|
#5 | tac_lite_freetags.patch | 1.22 KB | brunodbo |
#4 | tac_lite-6.x-hide_tag_vocab.patch | 390 bytes | AlexisWilke |
Comments
Comment #1
Dave Cohen CreditAttribution: Dave Cohen commentedWhen I first wrote the module, the free tags had an entirely different data structure in the taxonomy module. That was Drupal 4.6 or 4.7. I don't know how much its changed in the meantime. It might be possible to support them. I invite you to submit a patch.
Comment #2
chasz CreditAttribution: chasz commentedomg LOL am a noob with 2 week drupal experience :D
Comment #3
AlexisWilke CreditAttribution: AlexisWilke commentedDave,
There is a patch to do that: hide the free tagging vocabs in the list when editing the main form. 8-)
That way you do not have to add that in your message. Note that won't prevent someone from removing the "Tags", go to your module, assign the vocab, then go back and re-check the "Tags" checkbox.
Whether it would work with the free tagging, not too sure.
Thank you.
Alexis
Comment #4
AlexisWilke CreditAttribution: AlexisWilke commentedSome day, I'll attach the patch first time in! 8-)
Comment #5
brunodboSeems that free tags are now structured in the same way as 'non-free' terms, so free tags are in fact supported (they work in tac_lite v6.x-1.3). @Dave Cohen: can you confirm?
If this is the case, we could even take out the is_numeric() check in _tac_lite_get_terms() (line 367). Attached patch does that, and removes some references to free tags not being supported. There may be other checks in place to see if a term is a tag or not; they could be removed as well?
Comment #6
brunodboComment #7
AlexisWilke CreditAttribution: AlexisWilke commentedHmmm... free tags are saved in an array named 'tags' and those are strings such as "a", "b", "c". So I don't think that will work for free tagging.
Comment #8
brunodboI have a free tagging vocabulary set up here, that works the same way as a non-free vocabulary: I can assign a tac_lite scheme to it, and I can give individual users access to terms within the free tagging vocabulary.
Comment #9
brunodboI meant to say: are saved in the db the same way ..
Comment #10
AlexisWilke CreditAttribution: AlexisWilke commentedBruno,
Ah! Yeah. In the DB it is the same. I see what you mean now. 8-)
Thank you.
Alexis
Comment #11
Dave Cohen CreditAttribution: Dave Cohen commentedI'm on vacation till mid-october. It would be nice to support free tagging vocabs. So if this works I'll commit it, when I have a chance. Thanks for submitting the patch.
Comment #12
joelstein CreditAttribution: joelstein commentedI haven't tested the patch, but you'll want to make sure that it doesn't force you to rebuild after every node edit, as we found out in this issue.
I can't really see any good reason to support free tagging, though, since you have to manually map the terms in your vocabulary to your roles anyway.
Comment #14
Dave Cohen CreditAttribution: Dave Cohen commentedAgreed free tagging is nice to have, but not high priority. Closing old thread.