devnill
devnill

Reputation: 2123

Creating a content type in drupal 7 using specific vocabularies

I'm trying to make a content type that is a set of vocabulary terms from a given taxonomy. Consider the following taxonomy structure:

--Animal Name
----Taxonomic Class
----Number of legs
----Sound it makes
----Fun Fact

I want to be able to have a form that looks like this:

Animal Name: _____________
Taxonomic Class: _____________
Number of legs: _____________
Sound it makes: _____________
Fun fact: _____________

The problem I am having is that when I create my content type, I can only have a term reference for an entire taxonomy; not a single term.

Is there a way to link specific fields in a content type to individual terms within a taxonomy or is there a module that will help accomplish this?

Upvotes: 0

Views: 482

Answers (2)

Miguel Lomelí
Miguel Lomelí

Reputation: 1324

I don't get quite well what you are trying to accomplish. BUT, to create an Animal content type.

You could create a vocabulary called Taxonomic Class. Then set up a content type with a term reference field to The Taxonomic Class, an integer field for the number of legs. A textfield field for the sound it makes and a textarea for the fun fact. The name of the node will be the animal name.

That will do the form you need.

Upvotes: 2

jsheffers
jsheffers

Reputation: 1622

Never used it before, but this module is being used by over 2,300 sites. Check it out: http://drupal.org/project/term_reference_tree

Upvotes: 1

Related Questions