One thing panels does well is to put a bunch of unrelated or at least not directly related content in different areas on your page. One thing it doesn’t do well, by itself, is to stripe content across regions.
But what we can do is get Views to do that kind of thing for us. And because Views is not plugin driven, instead of telling the user “Oh you have to theme it” we can provide a plugin that does exactly that. In fact, I’ve decided to try and do away with the “Oh you have to theme it” answer, and created a new project on Drupal, called the Views Bonus Pack where I (and some other people who do a lot of Views work) can put plugins and default views to give the starting user a place to work from as well as a bunch of cool tricks.
The first thing I put in this bonus pack, then, is a simple way to take a single view and spread it out across content regions. I included four variants, and I’m sure more are possible but those four really do the job, and someone with a little bit of PHP knowledge could probably do variants on those four to create other interesting layouts as well.
The easiest way to get an example of this is, at least at the moment, to view the this demo, which is an alternative version of this site’s front page. How did I do this?
- Install Views, Panels and the Views Bonus Pack.
- Go to views administration, click ‘add’ on the frontpage view, which takes you to an edit screen.
- Go to the Page fieldset. Under view type, change it from “Teasers” to one of the panel teasers. I’m using Panels: Teasers, 1 top + 2 columns
- If you really want this to be your site’s frontpage, go to administer >> settings, open the general set, and change default frontpage to ‘frontpage’.
- Bask.

What a brilliant idea!
Love it!
Excellent - this should be
Excellent - this should be great!
Thanks, Finaly I find it !
Thanks, Finaly I find it !
thanks !
Thank you so much for this module, works great !
Thanks
MerlinOfChaos,
Thanks again! It's always your name I see contributing to the excellent views module. Thanks for your work
-jmjohn
Exactly what I want, however......
I cannot find a way to make this work with the current versions of D6.10, Views and Panels. Any help would be appreciated.
Many thanks,
David.
Great stuff. How do you add CSS to titles say
Great stuff. I wonder how do you apply css to the titles it all comes out as body text. Thanks. Makes life easier. I knew I was missing something.
How do you change content in different columnns
I get a default view and page in the views setting. They all contain the same content. How do I change the content for the different sections? Thanks.
Thanks so much for your tutorial...
I just wanted to thank you for your tutorial above on using views. I struggled for ages with my dream dictionary (a labor of love) to try to get A-Z along the top. I was lucky that I came across this tutorial and it helped me to divide the view in the panel page and apply this to the top of my header. I am loving your website so thanks so much for all your help. I adore the name of this site and your reasons for choosing it, I visited California and indulged in some lovely donuts once. x
I think you experts sometimes don't realize how much you help us newbies!
Post new comment