How to bind multiple vocabularies to one content type in Drupal 7

How to bind multiple vocabularies to one content type in Drupal 7

Bind multiple vocabularies drupal 7
Bind multiple vocabularies

You are making a simple blog site or other kind of website in drupal.

You wrote down an article and now you want to associate it with more than one category, so that, when your users click on any of those category they would find your article in both categories.

so how you Bind multiple vocabularies to one content type in Drupal 7 easily.

Every website has different sections and categories of content. So, first ponder and decide what different subjects or categories you want to put in your website. Then note down your categories in heretical order.

(Bind multiple vocabularies to one content type in Drupal 7)

For example; below is a classical example of drupal taxonomies.

 Fruits – Apple, Banana, Mango

Sports – Baseball, Soccer, Chess

Where the “fruits” is taxonomy vocabulary and “Apple, Banana, Mango” are terms of this taxonomy vocabulary

Now log in to your drupal account as administrator, click on Structure – Taxonomy and then chose add vocabulary option. Write the name of the vocabulary and then add term in it. Repeat this method and make all your taxonomies and add several terms in it. Don’t forget to write url alias for each term in the “url alias” box while adding that term to vocabulary.

Now as you have all your taxonomy and terms are set, you only have to bind with content types.

For this click Structure – content types – there you will find content types which you have activated like Article, basic page, poll etc. click the manage filed option. Add a new field called “term reference” and set the widget type for it ie. List or checkbox.

Now you can associate this term reference field to only one vocabulary

So, the trick is you have to add “term reference” fields equal to taxonomies you have made. For instance you have made four taxonomies called news, sports, movies, science, and you have further several terms associated with these basic four taxonomies. So you have to ad four “term reference” fields and associate it with four different taxonomies mentioned above.

Now save it, and we are done. When you would write an article, all the four taxonomies would appear in the below of your article. Just select the check boxes of those terms you want to associate your article with it.

Also download and install module “taxonomy title

Search Tags – Drupal-7, bind multiple vocabularies, bind multiple vocabularies in Drupal, Vocabularies in Drupal, taxonomy in Drupal