Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
taxonomy.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 Nov 2006 at 15:10 UTC
Updated:
24 Apr 2007 at 10:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
kkaefer commented(Duplicate of http://drupal.org/node/75386; the patches are identical)
Comment #2
flk commentedI personally dont see why there should be a restriction on where a vocabulary should/nt be used...fair enough that certain modules want to create vocab for their own use but there is really no need to a vocab to be linked to a certain content type.
i.e. currently i am working on the user_tags module an want to create a vocabulary that is not linked to a content type (thats do able using taxonomy_save_vocabulary()) but if i wanted to change the settings of the vocab i created, i have to assign the vocab to a content which really is not necessary.
PS applied patch an works fine (removes required element of content type)
Comment #3
kkaefer commentedSame patch has been submitted here: http://drupal.org/node/59623
Comment #4
flk commentedComment #5
Zen commentedSo, this is set to duplicate and the other patch is set to won't fix. Rather counterproductive, no?
Setting this issue back to its previous status.
-K
Comment #6
RobRoy commentedI agree that content type should not be required. Many times you create a vocabulary before you create the content type or create a vocabulary for other uses. +1
Comment #7
ChrisKennedy commentedComment #8
Zen commentedThis is not a feature request. I would class this as a bug, but can live with task.
Thanks,
-K
Comment #9
dries commentedI don't understand the use case and I'm tempted to mark this "won't fix". A taxonomy without a node type has no practical use.
Comment #10
kkaefer commentedIf you disable a module (e.g. forum.module) temporarily, the node type disappears. Then, if you want to update the vocabulary, you can’t save because you have to select another node type. This restriction often bugs me when rearranging a site, enabling/disabling modules etc. Also, there is no benefit in having a user select a vocabulary. If no node type is select, it’s pretty obvious that the user can’t use the vocabulary to categorize nodes.
On the other hand, there are some modules that use vocabularies/terms for their own purposes instead of attaching them to nodes. Taxonomy is not really tied to nodes that much. E.g. there is a module that allows tagging users. If you just use a vocabulary for tagging users, you don’t want to select a node type for it.
Comment #11
RobRoy commentedI agree with both kkaefer's use cases. The first one definitely bugs me a ton and I end up having to select page for node type, then going back and changing it later. I've also use taxonomy before together with a custom module that did not categorize nodes. I still like this!
Comment #12
drummWhat if we set a message after a vocabulary is saved with no content types selected, which explains that the vocabulary won't do a whole lot and offer a link back to the edit page?
Comment #13
RobRoy commentedMarked http://drupal.org/node/116748 a dupe of this.
Comment #14
RobRoy commentedThat last issue I mentioned actually includes another where upon UPDATING a vocab you don't have to select a content type which I've included in this patch. Also, a minor change to the wording for types/node types to make it more consistent/clearer. Still some "node" in user facing text on that page, but that's for another patch.
Comment #15
Chris Johnson commentedAdditional use cases for taxonomies without content types:
Comment #16
Zen commentedI think that it's a lot cleaner to just update the description text for the "content type" association check-boxes field to be more informative, rather than adding a rather redundant status message.
-K
Comment #17
Zen commentedPerhaps like so.
Comment #18
Zen commentedMissed a spot.
Comment #19
dries commentedI think we'll want to write 'categorize' instead of 'categorise'. If you fix that I think this patch is RTBC.
Comment #20
Zen commentedHere you go.
Comment #21
dries commentedCommitted to CVS HEAD. Thanks.
Comment #22
(not verified) commented