Archive pages with articles sorted by sections

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
trevorkjorlien's picture

I'm building a newspaper site, and along with it, an archive of all our past issues. When somebody selects on a particular issue, it will list all the articles from that issue. What I'd like to accomplish is what this site does (http://tinyurl.com/nuvw4t).

(Note: I tried submitting the original URL, but apparently the spam filter here doesn't like the word "5ocialist". Red Scare?!)

This page is an archive of all the stories in Issue 691, as an example. What I'd like to imitate is the way they break up the articles into the sections they belong to (WAR AND ANTIWAR, ECONOMY, NATIONAL, etc..) with the appropriate heading above them.

I assume they're constructing this in Views somehow, and I assume that when an article is created, it's tagged from a "sections" vocabulary with terms like ECONOMY, NATIONAL, etc...

Any ideas how they're doing this?

Comments

hai

nazar2k2's picture

hai,

It would be better if you use the drupal archive module to accomplish this feature.

Thanks
Drupal-developers

Drupal Web Development, Drupal Web Developers
Drupal Developers

[URL="http://www.drupal-web-developers.com"]Drupal Web Developers, Development, Theme Designer, Hire Drupal Programmer, Drupal web design and Development[/URL]
[URL="http://www.drupals-developers.com"]Drupal Web Developers, Drupal Developers, Drupal Webs

hierarchy

datawench's picture

i've done this several times using node hierarchy and grouped views. you're pretty close.

you need two node types: issue and story. let story use issue as a parent. use a magazine taxonomy to which to assign stories. then create a TOC view that takes issue ID as an argument, and displays stories grouped by taxonomy. finally, embed the TOC view in the issue node display.

Getting there

trevorkjorlien's picture

Hey datawench, thanks for the info. Here's what I've done:

I've made a CCK type called "Edition", which holds the name and number of the issue, and the date of the issue. I have a vocabulary called "Sections", which I use to tag the articles (NEWS, ARTS, FILM, etc...) I also have a vocabulary called "Edition" which I use in my articles to tag which edition that article belongs to.

So in Node Hierarchy, in my Edition content type, I've checked "can be parent", and the Article content type, "can be child". Do I provide a default parent, if I'm going to be creating new Edition nodes every week? That's what I'm confused on. Further, with my "Edition" vocabulary, if I'm using Node Hierarchy, do I need that vocabulary anymore if it's going to be a child of the Edition content type?

I'm also getting caught up in creating the View. I've made a View called "TOC" (I assume that means Table of Contents?). In the fields area, I've added "SQL Aggregation: Group By Fields", along with my Node Title and Taxonomy, but from there I get confused as to where to go next.

Thanks for responding!

Newspapers on Drupal

Group organizers

Group categories

Topics - Newspaper on Drupal

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: