I've set up my taxonomies successfully and have installed the Views module, which I've used to generate certain archives with no problem. I'm having trouble, however, replicating this archive from the old site: http://frodosnotebook.com/subject.html.

Here's the deal: On the site I'm setting up, nodes of type "book page" can be categorized under multiple terms from the voculary "Subject." So, for instance, a poem can be categorized as having to do with subjects like "Family" and "Relatives," and maybe "Relationships" to boot.

What I'd like to do is set up a view page that will list all the subject terms as headings, with all the book pages that fall under a particular term listed beneath the term heading. The existing page (linked above) is the best example of what I'm after, but here's a quick replication:

Family

My Family Rules by John Smith
I Hate My Parents by Spanky McGhee

Relationships

I Love My Girlfriend by Jonathan Googlsmidt
My Family Rules by John Smith
I Hate My Parents by Spanky McGhee

Zebras

Zebras are Awesome by Tooton Malutin

I've got a strong feeling that Views can handle this, I'm just not sure how to configure it to generate such a page, but the Views handbook pages don't explain how, and I haven't been able to find any earlier forum posts about it. Can anyone tell me?

Comments

Daniel Klotz’s picture

You'll see that I've been able to come reasonably close with this page: http://frodosnotebook.net/subject. However, you'll notice that it's not quite what I'm going for, as "Subject" terms are repeated (e.g., the term "Family" appears twice, since there are two book pages associated with the term).

bermin’s picture

You might want to look at www.drupal.org/node/42599

You can create views for each taxonomy and on a new node you can call each View with the code found in the link above.

Daniel Klotz’s picture

Ah, I think that's just the change in strategy I needed.

I'm going to give the fairly new Insert View module (http://drupal.org/project/viewtags) a try first, then if necessary I'll resort to using the php snippets.