Skip to main content

Taxonomy

What is Taxonomy

Drupal’s User guide States: Taxonomy terms are used to classify content, such as a tag or a category. Section 6.5, “Concept: Taxonomy” provides more information.

Where is Taxonomy used

Taxonomy terms are used in the following layouts

  • UMD Terp Article: Terms are used in the Categories field, the first Category of an article is considered its “primary” category.
  • UMD Terp Person: Terms are used in the Departments field on a person layout.

Taxonomy terms are used or provided in the following Widgets

  • News Feed: Terms are shared to this widget as “filters” from the university’s hub (hub.umd.edu), which is managed by the Office of Strategic Communications (OSC). 
  • Events Feed: Terms are shared to this widget as “filters” and are similar to the available filters found on calendar.umd.edu.
  • View: Setting the “with Filters” option for the pre-configured Articles view, as described in the Views Widget section will present filter options including a “Categories” filter that pulls the same taxonomy terms as those used in the UMD Terp Article Layout.

Managing Taxonomy on your site

Access Taxonomy Settings

  1. Verify you are logged in or follow instructions to login and access your drupal site.
  2. From the Admin Toolbar: Click Manage, then click “Structure”, then click “Taxonomy”.
  3. Once on the Taxonomy page, you should see a list of "Vocabularies”.
    1. What are “Vocabularies”? Taxonomy terms are grouped into vocabularies. For example, a vocabulary called "Audience" might contain “Alumni”, “Students”, “Faculty”, and “Staff”. The UMD Terp Templates come pre-configured with two sets of terms, One called “Categories” for the Articles layout, and another, called “Departments” for the People layout.taxonomy list terms

       

Add a new Taxonomy Term

  1. Follow instructions to Access Taxonomy Settings.
  2. Click on the “List terms” button next to Vocabulary you want to add to (Categories or Departments).taxonomy view terms

     

  3. Click the “+ Add term” button near the top of the page.categories-departments add term

     

  4. Fill in and set required information and options
    1. Name: The name of the term, this is the only required field and what will be displayed on the Front-End (What a visitor sees).
    2. Description: For Administrators only: A helpful description that is visible on the Taxonomy list page. The description is not displayed anywhere else in the UMD Terp templates.
    3. Relations > Parent Terms: For Administrators only: Drupal allows for Taxonomy terms to exist as sub/child terms of other “parent” terms. The UMD Terp Templates do not make this functionality visible to the Front-End (what the user sees), or available within the page editor (Back-end/what content editors see). This can be useful for administrators who add/edit taxonomy on a site, and have to manage many terms.
    4. URL Alias (ADVANCED USERS ONLY): This field is designed for advanced drupal developers, it can otherwise be ignored.
    5. Published: Make sure the “Published” option is checked.
  5. Click the “Save” button at the bottom of the page to save your changes. The page will reload to an empty form, with a banner near the top of the page indicating that the new term was created successfully.successful department-category save

     

  6. Repeat steps 4 and 5 as many times as you need to to add more terms.
  7. You can close this page, or follow instructions to access taxonomy settings, starting from step 2, to return to the list of Taxonomy Terms.

Edit an existing Taxonomy Term

  1. Follow instructions to Access Taxonomy Settings.
  2. Click on the “List terms” button next to Vocabulary you want to add to (Categories or Departments).taxonomy view terms
  3. Click the “Edit” button next to the term you want to make changes to.taxonomy category edit
    The “Edit” button next to an example taxonomy term in Categories
    taxonomy department edit
  4. As with adding a new taxonomy term, fill in or edit fields you want to update.
    1. Name: The name of the term, this is the only required field and what will be displayed on the Front-End (What a visitor sees).
    2. Description: For Administrators only: A helpful description that is visible on the Taxonomy list page. The description is not displayed anywhere else in the UMD Terp templates.
    3. Relations > Parent Terms: For Administrators only: Drupal allows for Taxonomy terms to exist as sub/child terms of other “parent” terms. The UMD Terp Templates do not make this functionality visible to the Front-End (what the user sees), or available within the page editor (Back-end/what content editors see). This can be useful for administrators who add/edit taxonomy on a site, and have to manage many terms.
    4. URL Alias (ADVANCED USERS ONLY): This field is designed for advanced drupal developers. It can otherwise be ignored, as the UMD Terp templates manage this automatically.
    5. Published: Make sure the “Published” option is checked.
  5. Click the “Save” button at the bottom of the page to save your changes. You will be brought back to the list of terms with a banner near the top indicating the term was successfully updated with your changes.successful category-department save

     

Moving/Arranging Taxonomy Terms (ADVANCED)

  1. Follow instructions to Access Taxonomy Settings.
  2. Click on the “List terms” button next to Vocabulary you want to add to (Categories or Departments).taxonomy view terms
  3. Terms can be rearranged by clicking and dragging the crossed arrows icon on the left side of the term you want to move.
    1. No Visible Changes: The UMD Terp Templates do not make this functionality visible to the Front-End (what the user sees), or available within the page editor (Back-end/what content editors see). Where terms are visible, they are listed alphabetically with no changes to hierarchy. This feature may be useful for administrators who add/edit taxonomy on a site, and have to manage many terms.
    2. Change Order: Tags can be arranged in any preferred order.change taxonomy order

       

    3. Change Hierarchy: Similar to setting a “Parent Term” within the relationship settings while adding or editing a taxonomy term, sub/Child and Parent terms can be set by clicking and dragging a particular term left or right. Drag right to make a term a sub/child term of the one above it, and drag the left to make it a Parent term. You can have multiple levels of terms (ie: Students may be a parent of Current Students, which might be a parent for Undergraduate Students).taxonomy category list hierarchy

       

  4. Click the “Save” button at the bottom of the page to save your changes.

Reset Order: Click the “Reset to Alphabetical” button to reset, and rearrange the current list of Taxonomy terms alphabetically. Changes to Hierarchy will not be made, only the order of terms in the list.
 

Back to Top