I would like to be able to assign the navigation vocabulary to some existing/shared vocabulary. I have done this successfully by just altering the variables table to point to an already existing vid, but I think it would be a nice feature to have in the configuration menu.
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | weblinks18.patch | 4.12 KB | nancydru |
Comments
Comment #1
nancydruhttp://drupal.org/node/266383 is a duplicate.
Comment #2
nancydrutaxonomy_get_vocabularies('weblinks') would pick up all vocabularies that are used for the weblinks content type.
Comment #3
rmiddle commentedOk this looks like a pretty simple fix will need to look into this.
Thanks
Robert
Comment #4
rmiddle commentedMark this one a dupe on an earlier ticket.
Comment #5
rmiddle commentedComment #6
nancydruHmm... not quite that simple. "_weblinks_get_vocid" sets the "module" column in the vocabulary table to "weblinks" (opening the way to "weblinks_term_path"). Setting a different vocabulary would probably prevent this. How important is it? I don't know.
Comment #7
rmiddle commentedYea I looked into this earlier. That function is used in 90% of the code. I might require a reactor to make this change.
Thanks
Robert
Comment #8
nancydruNot really. I've already got this coded; I'm just trying to set a test.
Comment #9
rmiddle commentedNancy,
That is great. I am still learning the taxonomy system some but if you can make the change without having to redue large chunks of code great as there have been several requests for this.
Thanks
Robert
Comment #10
nancydruThis patch adds a vocabulary selection at the top of the settings page if there is more than one vocabulary assigned to the weblinks content type. If there is only one, the existing function continues as it always has.
Please visit the settings page after applying this because I also moved all radios to single lines. You may or may not like that, but it does shrink the settings page a bit.
Comment #11
rmiddle commentedComment attachment is have issues today I see. Need to re-post the patch.
Thanks
Robert
Comment #12
rmiddle commentedComment #13
nancydruMaybe I need another glass of wine...
Comment #14
rmiddle commentedWorks good overall. Committing to CVS.
Note to self
Not sure about the category list on the bottom of this page? They don't change until you save the changes. That will confuse people need to think of a better way to handle that area.
Thanks
Robert
Comment #15
rmiddle commentedNote:
Also need to do testing in none is selected how that is handled.
Comment #16
nancydruIf none is selected, it should continue as it does now.
Comment #17
rmiddle commentedYea that is no category list. I need to add code to alert or update this.
Comment #18
rmiddle commentedBackported to 5. Committed to CVS.
Comment #19
nancydrudidn't close automatically