Helllo Everyone,

I am working on a corporate website in Drupal 7. I have to create two new content types "News" and "Events".

On Drupal6, I used to install CCK module and create new content types. I saw the functionality to create new content type is in-built in Drupal7 core. While having a look at in-built, I saw a new content type "Article". Its description says to built time-sensitive content like news, press releases etc.

Please tell me if I can use "Article" content type for news and if yes then i would like to know how I can differentiate news from press releases and blog posts. Are there any settings etc. to make use of "Article" content type for news, press releases and blog posts?

Many thanks
Shena

Comments

mcfilms’s picture

The D7 content type "Article" is just a content type like you would have created in D6.

To segment this content type, I would use taxonomy. Create a taxonomy ("newstype") and add the types of news you want (press release, blog post, etc.). Add this taxonomy to the Article content type. When you create your news you can assign each article one or more terms.

Then use Views to display all your news items (Or the headlines linked to the full article page.) Now you can either add an exposed filter for the taxonomy OR you can create a view that takes the last term and uses it as a filter. So sitename.com/news/press-release will list out all the news tagged as a Press Release.

This used to be called an "Argument" in Views, but now is called a "Contextual Filter".

A list of some of the Drupal sites I have designed and/or developed can be viewed at motioncity.com