Posts Tagged ‘drupal’

Drupal: how to link menus and taxonomy

Friday, July 17th, 2009

After struggling for a day, I got things going well with my new Drupal website. Creating Menus and Categories in Drupal is always confusing and I hope Drupal’s next release will have these things made easy to compete with other newbie friendly CMS like, Joomla. Enough of thoughts, lets get to business.

1) Your Drupal website should be up and running.
2) Go to Administer –> Content Management –> Taxonomy –> Add vocabulary, create one, Example: News.
3) Then go to “edit vocabulary” and add few terms Example: Technology, Sports, Business.
4) You are done with creating categories now.
5) Go to Administer –> Site building –> Menus –> Primary Links (or Navigation or create your own Menu)
6) Next “add item”, there are blanks to fill, Path, Menu Link title and more. Except Path others are straight. To fill path you need to know the taxonomy term number which you have created.
For Example, create item “Technology” and you should link it to taxonomy term “Technology”. How to do that? Go to that term “Technology” in Taxonomy (Taxonomy –> list terms –> Technology(edit option)) URL will display something like this www.example.com/admin/content/taxonomy/edit/term/14, so taxonomy/term/14 is your link. Paste this into Path in Technology menu item.
7) Next is creating content, Go to Administer –> Create Content –> Page(/Story/any other), while creating content add category to content say Technology.
8) You are done and click on Technology link and your content is displayed.

I know it is very confusing and misleading, but thats the way it is in Drupal.
Please feel free to leave a comment.


CC License
This work by Mallikarjun is licensed under a Creative Commons Attribution 2.5 India.