Terms and sub-terms

Taxonomy

Newly created vocabularies do not contain any terms or sub-terms.

If you want your users to be able to enter their own terms for the content that they create, you don't need to add terms before the vocabulary is used for content. If, however, you want to limit content creators to specific vocabulary terms for their content, you must manually add the terms to your vocabulary.

Adding terms to a vocabulary

To add terms or sub-terms to a vocabulary:

  1. Go to Structure > Taxonomy.
  2. Find the vocabulary for which you want to add terms, and then click its add terms link.

    Add terms link

  3. In the Name field, enter a general category for your content to serve as the term.

    New term page

  4. Click Save.

The term is added to your vocabulary, and the term page refreshes so you can enter a new term.

Managing term relationships

After you've added terms to your taxonomy, you can control how the terms in your vocabulary interact with each other. You do this by controlling parent/child relationships and by controlling the display order (weight) of the terms.

Parent/child relations

By default, when you add terms to a vocabulary, Drupal Gardens adds the term to the top level of the term hierarchy. You can, however, modify the hierarchy, and make a term a child term (sub-term) of a parent term. For example, you could make the term espresso a child term of the taxonomy term coffee.

To make a term a sub-term of another term (or sub-term):

  1. Go to Structure > Taxonomy.
  2. Find the vocabulary whose terms hierarchy you want to edit, and then click its list terms link.

    Gardens_taxonomy_terms_list1_54.png

  3. Find the term for which you want to modify its relationships, and then move the cursor over the arrow icon to the left of the term's name.

    Gardens_taxonomy_parent1_54.png

  4. Drag the arrow until you've moved the term to the row immediately following the new parent term of the term you're modifying, and then drag the arrow to the right.

    Gardens_taxonomy_parent2_54.png

    After you let go of the arrow, notice that the modified term's arrow is indented to the right under the parent term.

    Gardens_taxonomy_parent3_54.png

  5. Click Save.

Weight

Sometimes, terms should be displayed higher in a vocabulary due to their popularity. By default, however, Drupal sorts term lists alphabetically. To manually control the order of term lists:

  1. Go to Structure > Taxonomy.
  2. Find the vocabulary whose terms hierarchy you want to edit, and then click its list terms link.

    Gardens_taxonomy_terms_list1_54.png

  3. Find the term that you want to move, and then move the cursor over the arrow icon to the left of the term's name.

    Gardens_taxonomy_weight1_54.png

  4. Drag the arrow up or down the list of terms until you move the term to its new list location.

    Gardens_taxonomy_weight2_54.png

    If the term has child sub-terms, those sub-terms move with the term.

  5. Click Save.

If you determine that you'd like to remove all of the weighting and sorting you've added to your vocabulary, click Reset to alphabetical.

Editing or deleting terms

To edit or delete the terms or sub-terms in a vocabulary:

  1. Go to Structure > Taxonomy.
  2. Find the vocabulary that contains the terms that you want to edit or delete, and then click its list terms link.
  3. Find the term that you want to edit or delete, and then click its edit link.

Use the edit page to change the values for the term's Name, Description, URL location, and its relation to other vocabulary terms.

To delete a term, click Delete.

Viewing all content with the same term

As your content creators continue to add content (such as blog entries or polls) to your website, it can be difficult to keep track of all of the content associated with your website's terms.

By default, as you create a new term, Drupal Gardens creates a webpage that provides a quick view of the content associated with the term. For example, using this option, if you had a vocabulary called computer and a term called laptop, you could display all of the content associated with that taxonomy term by viewing http://[site_URL]/computer/laptop.

To enable, disable, or modify a term's results webpage:

  1. Edit the term for which you want to edit its results webpage settings.
  2. Expand the URL settings section.

    URL settings section

  3. If you want to disable the results webpage, clear the Generate automatic URL alias check box.
  4. If the results page is enabled, to edit its website URL, click the edit link to the right of URL alias.
  5. After you complete your edits, click Save.
Feedback