using Views to construct a View?

Events happening in the community are now at Drupal community events on www.drupal.org.
damon.cook-gdo's picture

I need some advice. I'm trying to construct a page of news articles for my school's intranet. There are going to be a few different sections:

  1. Section 1 = Featured article = big picture with a paragraph or so of text and "read more" link
  2. Section 2 = Other Featured articles = just a bulleted list of other featured stories titles that are linked to the full-text story
  3. Section 3 = smaller versions of Section 1

Basically this is all in a nice, grid-like layout. Would each section be a View? or could I make one View with attached sub-views? What is the best approach?

Comments

D5: Panels; D6: Blocks?

pdcarto's picture

I have not used Panels since I just began with Drupal a couple months ago, using 6.x, and Panels aren't yet recommended for that version. But if you're using D5, I would think Panels is the way to go.

On D6, I have accomplished a somewhat "panels-ish" design using views in blocks and with minor modifications a standard three column Zen-classic theme and css.

Not sure if this amounts to "best practices" though!

Screenshot attached...

Drupal 6 without Panels or blocks

damon.cook-gdo's picture

I think I'm on to something now. I've got one Page View with 4 attached Attachment Views. I think this is going to work once I apply some CSS wizardry. This way there are not blocks involved. Although, I'm sure I could just as easily create with blocks.

BTW I noticed Mt. Greylock...I just hiked Mt. Greylock two weekends ago. Great climb and beautiful summit. Thanks for the info!

Views + panels

gchaix's picture

I'd recommend setting up each of the content areas as a view exported as a block. Then place them in the main content area either using panels or regions in the theme to place them.

I'm curious how this might

damon.cook-gdo's picture

I'm curious how this might be more effective than creating one View with several Attachment views?

First let me specify my goals a little more, here is what I'm trying to accomplish:

  • One custom page that will not be re-used
  • I'm using Taxonomy to filter the different content areas so that Headline will go in the Headline content area, SubHeadlines will go in SubHeadline content area, etc.

The only argument I could see for creating blocks is that if I need to place the block somewhere else in the site later then I have the option. Is there something I'm missing? Of course all of this is limited by my lack of experience with Views, but I'm just trying to figure out the best approach?

Thanks!
Damon

Views_attach

bonobo's picture

For D6, you also could look at http://drupal.org/project/views_attach -- this, in combination with using blocks in regions, could do it.


FunnyMonkey
Click. Connect. Learn.
Using Drupal in Education

panels would be overkill

marketanomaly's picture

My personal opinion is that panels would be overkill for a single website that will have a fairly static layout managed by you or another tech savvy admin. I would just setup regions with different views on the data you want to present.

Drupal in Education

Group organizers

Group notifications

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