Different sizes for teasers on the same page?

CharlotteDK - December 30, 2007 - 22:33

I am currently setting up another website in Drupal. It is the first time I am using it and so far it seems to be able to match my needs. However, as I am designing my frontpage, I have come across a problem:

On my frontpage I have 6 teasers for news articles. At the moment they are displayed under each other with the same sizes, but I would like to change them so that for example the first two teasers are the same and uses the full width and the other four teasers are made half size with two next to each other.

I can change them all into being displayed small or large, but I can't find a way where I can choose which articles should be half width and which should be full width. Anyone who can help with that?

Thanks in advance,

Charlotte

thoughts

tm - December 30, 2007 - 23:47

http://drupal.org/node/176829 is a manual method to control your teaser lengths.

on your frontpage requirements (assuming this is a dynamic list), the thing that comes to mind is a combination of views and panels. there is a page somewhere regarding the offset option in views (skip first x number of nodes?), so you can create (at least) 2 views; one for the first 2, full node, and the second with standard teasers. stack these in a panel slot, or as you see fit. or something like that. this way, as you add new articles, they will automatically change the displayed length.

until someone posts a more elegant solution, anyway. good luck!

Thanks

CharlotteDK - January 12, 2008 - 12:42

Thanks.

You guided me in the right direction and I have now found a way to make it look like I want :)

 
 

Drupal is a registered trademark of Dries Buytaert.