How Can We Help?
< All Topics
Print

Configuring Taxonomy in Drupal: Step-by-Step Setup Guide

a) How do I set up taxonomies in Drupal ?

1. First, navigate to “Structure” and select “Taxonomy” in the Management administrative menu (Management/Structure/taxonomy) to create a tag glossary using the core standard installation profile.

2. Then, click Add Vocabulary and fill in the following values:

Field name Explanation Example value
Name Name of the vocabulary Ingredients
Description A brief summary of vocabulary (Leave blank)

3. After that, clicking “Save” will take you to the Ingredients page, which displays a comprehensive list of all vocabulary terms.

4. Next, click on “Add Term” and enter “butter” in the name field. Then, click “Save“.

5. Then, you will receive confirmation about the term you created and have the option to add more terms.

6. Next, navigate to Structure and select Content Types in the Manage administrative menu (Admin/Structure/Types) to access your recipe content type.

7. After that, click on the Add field and input the desired values from the table. Save and continue.

Field name Explanation Example value
Add a new field Choose the field type Reference > Taxonomy
Label Give the field a title Ingredients

8. Then, enter the values from the table provided and click on the “Save field settings” button.

Field name Explanation Example value
Type of item to reference The entity type is referenced by the field Taxonomy term
Allowed number of values The number of values the user can enter Unlimited

9. After that, navigate to the configuration screen, input the table values, and click on the “Save Settings” button.

Field name Explanation Example value
Help text Help is shown to the user who created the content Enter ingredients that your website visitors might want to search for.
Reference type > Reference
method
Select the method used to select allowed values Default
Reference type > Available
Vocabularies
Select the vocabulary from which to select the allowed values Ingredients
Reference type > Create
referenced entities if they
don’t already exist
whether new ingredient terms can be generated using the content editing form Checked

10. Finally, click on Save Settings to return to the Manage Fields page and receive a message confirming the ingredient configuration is complete.

Table of Contents