How can I have i.e. News category (category will contain bunch of news articles/stories) on the left menu? I have the menu setup but for the life of me cannot figure it out.

Home category i was able to figure out as it is just a simple page so i linked it.

Thanks much!
Marek

Comments

marcvangend’s picture

Can you tell us what you mean with "a news category on the left menu"? I assume you need a menu item in the left menu, perhaps titled "News", but then what does it do? What do you expect to see when you click it?

(I suspect that my final answer is going to involve the Views module, but I'll wait for your answer first :-))

maredzki’s picture

Sure, I can definitely explain :)

The News item, when clicked on, would contain News articles so that usually is identified as a "Category" in other CMS. I am new to Drupal so please pardon my weird question.

I.e. on CNN.com when you click on US or World you will get articles related to either US or World. That is what I am basically looking for, how to tag (or categorize) a story or page to reflect US or World (in CNN's example).

If that does not make much sense, please let me know and i will explain differently.

Nick Lewis’s picture

I think this is what you are looking for:
http://drupal.org/project/taxonomy_menu

--
"I'm not concerned about all hell breaking loose, but that a PART of hell will break loose... it'll be much harder to detect." - George Carlin
--
Personal: http://www.nicklewis.org
Work: http://www.zivtech.com

marcvangend’s picture

Your question is not weird at all, I just want to make sure that I'm understanding it correctly. The Taxonomy Menu module is not strictly necessary, that solves a different problem.

If you have not yet enabled the Taxonomy module (part of Drupal core, so you don't have to download it separately), enable it now. The Taxonomy module allows you to define different vocabularies (ie. 'Category', or 'Color' if you're categorizing t-shirts). Each vocabulary can contain a number of terms (ie "news, entertainment, sports" or "blue, yellow, red, black"). You can tag your content with terms from the different vocabularies. Once you did that, you will automatically have pages available that list the nodes with a certain term (that's a feature of the taxonomy module). The url will look like www.example.com/taxonomy/term/1, where '1' is the ID of the taxonomy term. If you download and install the Path Auto module (http://drupal.org/project/pathauto) you can get fancier url's like www.example.com/category/color/blue.

If you want to add a menu item that links to www.example.com/taxonomy/term/1, you can either add it manually (on www.example.com/admin/build/menu and following pages) or (as mentioned before) download and install the Taxonomy Menu module so the menu items will be created automatically.

If you need more control over what exactly is shown on the category list page, use the Views module (which is complicated at first, but well worth your time).

Finally, you should realize that Taxonomy is not the only way to differentiate between different types of content. Forgive me if I'm writing things you already know... If you're categorizing a collection of t-shirts, Taxonomy is the way to go. However, when you want to add an events calendar to that same site, you will find that a t-shirt node contains other data (image, price) than an event node (date, time, location). In that case, you should create a new content type for your events. With the CCK module (http://drupal.org/project/cck), different content types can have different fields.

maredzki’s picture

Good info! Let me play with it now and I'll see if I can put it all to use :)

Thanks again!
Marek

marcvangend’s picture

You're welcome. Good luck and don't be afraid to ask more questions (well, after you searched for the answer of course :-)).