Drupal - Create Categories


Advertisements


In this chapter, we will study how to Create Categories in Drupal. Taxonomy can be considered as categories or tags. Drupal taxonomy is built up of vocabularies and terms. A vocabulary is a set of terms and terms are just another word for categories.

Following are the simple steps to create categories in Drupal.

Step 1 − Go to Structure and click Taxonomy in the category as shown in the following screen.

drupal create categories

Step 2 − Click on Add vocabulary link.

drupal create categories

Step 3 − Enter your new vocabulary (category) Name and Description as shown in the following screen.

drupal create categories

Click the Save button and your category is created.

Step 4 − You will see your new category is added to the list. Further you can click add terms link to add some terms to it.

drupal create categories

Step 5 − You can add some sub categories to it. Enter the required details and click the Save button as shown in the following screen.

drupal create categories

Step 6 − Choose your parent category from the list and click list terms link to view your sub categories list.

drupal create categories

Following are the details about the fields present in the preceding screen.

  • Edit vocabulary − You can edit your category name and description.

  • List terms − It displays your subcategory list.

  • Add terms − You can add your subcategories through this link.

Step 7 − You will see the subcategories list. Here, you can edit your subcategory by clicking on the edit link as shown in the following screen.

drupal create categories

Step 8 − Next, you can also rearrange your subcategories by dragging them as per the demand. After rearranging, click the Save button.

drupal create categories

Advertisements