Support free tagging vocabularies
chasz - September 18, 2008 - 18:20
| Project: | Taxonomy Access Control Lite |
| Version: | 6.x-1.3 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
why can i not hide the free tagging vocabs?? is there any other mods that can do that?

#1
When 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.
#2
omg LOL am a noob with 2 week drupal experience :D
#3
Dave,
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
#4
Some day, I'll attach the patch first time in! 8-)
#5
Seems 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?
#6
#7
Hmmm... free tags are saved in an array named 'tags' and those are stings such as "a", "b", "c". So I don't think that will work for free tagging.
#8
I 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.
#9
I meant to say: are saved in the db the same way ..
#10
Bruno,
Ah! Yeah. In the DB it is the same. I see what you mean now. 8-)
Thank you.
Alexis
#11
I'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.