Hiya,

I'm just looking for a bit of guidance on the following issue: Please have a look at the top part of the main content on this page:

http://www.nzherald.co.nz/section/4/index.cfm?c_id=4

I am trying to mimic the part that has one large "Featured Article" and a table of 4 "Subfeatures".

I am wanting to make sure that I don't do this the wrong (or long) way. So could someone with a bit of experience comment on the way I have decided to go about this:

1. A View for single "Featured Article"
2. A View for "Subfeature" table
3. A CCK field for "Featured"

That said, I am still a bit unsure of how to do the following:

1. Ensure only one article can be "Featured"
2. Ensure that the most recent 4 articles are in the "Subfeature" view.
3. Ensure that the "Featured Article" does not reappear in the "Subveature" view

I may be trying to overdo it with the last three, perhaps I should just try for the 5 most recent articles to appear there in order to address all three of those requirements.

I'm not after specifics, just a nudge in the right direction. I am starting to understand Drupal a bit now and am very aware of some of the key modules used for this sort of thing (CCK, Imagecache, Imagefield, Views, Contemplate).

It's just that I've been so overfed with modules now I'm having a bit of trouble picking the best (most scalable) route here.

Cheers
Aaryn

Comments

Rowanw’s picture

There are no tables in that layout, tables are difficult to work with.

To achieve a layout like the example I would mark the featured article as "Sticky", and then style every non-sticky article to be 48% wide and floated to the left. In the view (list type teaser) I would limit the number of nodes per page to 5.

aaryn015’s picture

Thanks Rowanw,

Good idea on making the Featured article Sticky. Missed that.

I'm aware there aren't tables there, just easier to describe than "a bunch of divs positioned like a 2x2 table"

Time for me to get a better grasp of views. I tried one last night an now I can't get rid of it. Even if I delete it!

Thanks for the tips
Aaryn

Anonymous’s picture

http://drupal.org/project/panels
http://drupal.org/project/views_bonus

CCK, Imagecache, Imagefield, Views, Contemplate will create the individual bits of content exacly as you want. Panels will allow you to mash together multiple bits of content into the page view you've described. Panels can be combinations of views, blocks, nodes, etc. Views Bonus Pack delivers the ability specify views output based on panel multi-column layout types.

Steve