I have several content-types which apply to three (required) vocabularies:
Platform (pc, ...)
Type (cheats, review, ...)
Product (game, console, ...)
- For those vocabularies, I have several content-types:
- cheats
- review
- ...
Now my question is how can I restrict the content-type "cheats" to the term "cheats" in vocabulary "Type"?
As a sidenote (though this is not the main question - but a related one), would it be possible to have Platform and Product required for these content-types, but optional for a different content-type (say "news", which may be about a specific platform, or may not be related to a platform at all).
Or, if you didn't completely understand, i think i can rephrase the question as such: "Is it possible to connect vocabularies/terms to a specific content-type rather than the other way around?"
Comments
(no title)
For the first question, you can probably use the Taxonomy Defaults module (http://drupal.org/project/taxonomy_defaults).
Don't apply the "cheats" node type to your vocabulary but set up the module to assign the term automatically. This should work if you want all posts of type "cheat" to be tagged with that term.
For the second question, I don't know any way with the existing modules.
great! thanks. Had a quick
great! thanks.
Had a quick (20mins) look through search "taxonomy", couldn't find anything on the other thing either...
hmm... Assuming he miswrote
hmm... Assuming he miswrote "node-type" as "node", this might be what I'm looking for:
http://drupal.org/project/taxonomy_node_operations
If not, it might be a good place to start should I want to make a custom module...
In any case I'll have to test it later, but posting it here for you to see (and as a reminder to myself)
(no title)
Probably "nodes" was correct in the description, because in the "admin/content/node" page where it works you have a list of all existing nodes, which you can select, publish/unpublish, promote/unpromote etc. and this module adds "assigning categories".
However, that page lets you filter the list of nodes by type, so perhaps it can be useful.
yea, it was rather foolish
yea, it was rather foolish to hope someone experienced enough to build his own module would make such a mistake of terms.
Anyway, as i said, perhaps I'll make my own module when things are more fleshed out and up-and-running.
thanks for your help
(no title)
Another idea is to use a completely different new method. CCK + cck_taxonomy fields.
What is different with this approach is that you don't assign node types to vocabularies at all, but you add taxonomy fields to a content type, and these fields can pull some vocabulary.
See http://drupal.org/project/cck_taxonomy
and this discussion http://drupal.org/node/169083
that sounds exactly like
that sounds exactly like what I'm looking for. It also sounds like it does it in a bit of a round-a-bout way, but that doesn't really matter...
CCK seems like such a big topic to tackle I'm just trying to get whatever else i deem 'necessary' in place first. I'll definitely check it out sooner rather than later, thanks!