Hi,

I would like to have different sections on the site, say "Events" and "News" etc.
I have the sections in the menu, but how do I:

1. Create the actual sections (Events, News, etc)
2. Have new content (after categorized) go into proper section
(I have created the categories, and they are selectable when creating content)

So when a user clicks the menu "Events" they go to the section of the website called "Events" and see as list of the Event category items? I would like the Events (and other) section look basically like the front page.

Right now, I set up the menu item "Events" to link to a node I created to be a "homepage" for the Events, but then I have to manually edit the Events homepage to link to any new Events content. Seems like this should be automated...

Aloha,
Kai

Comments

yelvington’s picture

Drupal has an extremely powerful, extremely flexible taxonomy (classification) capability that will handle this. Read the handbook:

http://drupal.org/handbook/modules/taxonomy

jfxberns’s picture

yelvington is right--you need to use Taxonomy--which, if you have used Categories, is exactly what you did. And you are right as well--linking to lists of all the content for the Category is automated--by linking to the URL for the Category term.

To link to the list of all the stories in the category, go back to the Category Page in the Content Management section. You will see the name of the category and to the right "list terms." Click on "list terms" and you will go to a page that has all the terms, if you click on the name of the term on that page, VIOLA! you go to a page has a URL something like http://www.your-domain.com/taxonomy/term/6 (that is if you have clean URLs turned on, if not, it will have q= and other stuff in the URL--but it does the same thing in the end) and you will see a list of all the stories for that term. TADA!

Now, here is where things can get cooler and your life gets simpler:

If you have Clean URLs turned on (and you should for Search Engine Friendliness) you can add the PathAuto module which will make the URL something more human friendly, like http://www.your-domain.com/sections/news. It's also useful for search engine optimization; I strongly recommend this module.

If you want Drupal to automatically create a menu item for each category (I told you this was going to get make your life easier), install the Taxonomy Menu module which will generate a menu item for each category as you create it.

Drupal ships very lean; it only includes the most essential features in the core. Start perusing the Module repository, you will find a lot of excellent modules there that users have contributed that will solve a lot of common problems--or just make your life easier.

John Berns
Travel Guide
Travel Photographer

kaimuki’s picture

Hi jfxburns,

Thanks for the info ... I think that was the info I needed! I'll be trying it out and will report back...

yelvinton, thank you also for the response. I was using taxonomy, so was having all my content catorgorized properly, I just couldnt' figure out how to apply it's power in the way I needed.

UPDATE:
Turns out all I needed to know was how to get to the page via categories->list terms->clicking the term. Once I had that (clean) URL, I saw it had all the proper content, so I linked to that page from the menu.
I didn't use Taxonomy Menus, 'cause I rather have my own section page linked to from the menu, and then I link to the "terms" page from the section "index" page, and since I already have the Menu's with the section in them, but I can see how that could've saved some time.

Thanks again for the tip!

Mahalo & Aloha,
kai

jfxberns’s picture

Glad to help.

John Berns
Travel Guide
Travel Photographer