Recently I started using Drupal and I have one question about adding content.
Here is an example. Here is my Navigation menu structure:
Books
- Love
- Travel
- Tech
Automobiles
- European
- American
- Japanese
Music
- Pop
- Rock
- MTV Hits
So, I went to categories, added vocabularies Books, Automobiles and Music and for every vocabulary I've added terms (for Books I've added Love, Travel etc). Then I went to Menu option and made that menu.
However, I don't know what should I put for path for that menu items? I mean I want that whatever type of content that I add in Books section that it appear on the main page and in particular subcategory. Do I have to make the link to for example Books menu something like http://www.mysite.com/drupal/taxonomy/terms/1+2+3 if 1,2,3 represent subcategories of Books or I have to do that somehow else? If I do that, then on my Books section will write Love, Travel, Tech and then my posts for Book section. Also, there will be only Home that will link to http://www.mysite.com/drupal
I want that when I click on Books that I get Home>>Books and when I click on Love to get Home>>Books>>Love
I have checked hierarchical option and related items option in category link.
Also, I would like thatr instead of links like http://www.mysite.com/drupal/taxonomy/terms/1+2+3 that I use http://www.mysite.com/drupal/books that will show all Book related posts and http://www.mysite.com/drupal.com/books/love that will show only posts related to books about love.
Please be so kind and tell me how should I do it.
Comments
Generally speaking, you
Generally speaking, you don't want menu items to point to point to lists of items in a taxonomy, because it will just list the articles (and some of the text from each) in that taxonomy, which tends not to be too helpful.
What I would recommend doing is creating pages using the "book" module which comes with Drupal and, for example, doing this:
- Create a page called "books", in the books taxonomy.
- Create 3 child pages called "love", "travel", and "tech", each in their proper taxonomy.
- Under each of those child pages, create more child pages for your book reviews or whatever.
THEN, go back to the "books" page. Note the URL (it should be "node/nnn", where "nnn" is a number) and modify your menu item to point to that URL. Repeate for the "love", "travel", and "tech" menu items.
Does this help.
-- Doug
--
Douglas Muth, Philadelphia, PA
http://www.claws-and-paws.com/
Thank you!
Thank you, Douglas. It is quite fine solution.