Bear with me as I am a Drupal newbie. I've been searching for the answer with Google, but to no avail.

Let's say I'm making a music Website with a list of bands, and each band has a page with news, polls, concerts, etc.

Each band page would be a "band" node. I then want to filter in their specific news, polls, and concerts into that page. Each of these items being filtered would be in their own box and not just one large feed.

I plan to give the band node a taxonomy of "The White Stripes". Then when a news post is made you select that "The White Stripes" from the taxonomy. This is done the same for all other nodes.

I'm hoping a View could then pull in all these nodes with the taxonomy "The White Stripes" onto "The White Stripes" band node.

From what I've learned I could create a view for each news, polls, concerts node for every band, but this band list will become extensive and creating a view for every band will become tiresome quickly.

I would like for the view to take the variable of the taxonomy and populate the entire band page with its news, polls, concerts etc.

I would like these blocks to automatically attach to a page and then pull the proper content for that page. Is this what Views can do? Or am I totally in the wrong area.

I know this isn't rocket science what I'm requesting. If I hand coded this in PHP I could pull this information from a database easily, but I'm not familiar with how to achieve this in Drupal.

Drupal looks mighty powerful, but I can't figure out how to do a lick of organizing for this site at all. I wish there was a tutorial out there for making a site like this.

Can anyone point me in the right direction to create something like this?

Comments

1800collect’s picture

Maybe this chart will explain this better:

List of Bands
Weezer (node: band) [taxonomy: Weezer]
The White Stripes (node: band) [taxonomy: The White Stripes]

Content:
The White Stripes is a great band [node: news] [taxonomy: The White Stripes]
Is the White Stripes the greatest band ever? [node: poll] [taxonomy: The White Stripes]
Concert 12/15 [node: concert] [taxonomy: The White Stripes]
(All of the above gets filtered into The White Stripes band node in separate boxes not one large stream)

Weezer has a new album [node: news] [taxonomy: Weezer]
(The above gets filtered into Weezer band node)

vm’s picture

you'e understanding is correct.

Views is a way to write a query with the aid of a UI.

One thing that you may want to look into is arguments. There is documentation on this is in the advanced help.module and http://drupal.org/node/54455 seems like it still applies.

vm’s picture

Category: task » support
1800collect’s picture

So I'm on the right track, but I'm still confused.

Does Views Arguments allow for me to do a "loop" for let's say:

(not real code)

if (node = band) {

get node taxonomy
post news node for taxonomy
post polls node for taxonomy
post concerts node for taxonomy

}

Then of course each node in a band would have it's own view rules for how it displays?

This is getting out of the area of the views module, but...

Then how can I customize where and how it shows up on the band node's page? Can I give a custom template for band node pages. Again I'm a complete drupal newbie as I just picked it up a week ago and I'm trying to build my first site with it. I've migrated from Wordpress as I'm looking for flexibility.

vm’s picture

yes, you can filter by content type. Panels.module is a nice module to handle display in sections of a page, or you can create blocks with views if you wanted and call them into the theme. you can also use custom theme files basics explained here: http://www.group42.ca/theming_views_2_the_basics

merlinofchaos’s picture

I would counsel against using taxonomy to do what you want. CCK nodereference is probably better.

esmerel’s picture

Status: Active » Closed (fixed)

suggestions given, no response.

1800collect’s picture

I went with CCK nodereference for this project. But I have since moved on to Drupal 7. But that is another monster in and of itself.