Question: Start embedded view at offset n

Events happening in the community are now at Drupal community events on www.drupal.org.
olav's picture

Is there an easy way to start an embedded view in panels2 at a certain offset, other than writing my own module and setting $view->offset from the panel arguments in my implementation of hook_views_pre_query?

For a news site, I want the first article to look different and the layout prevents me from just formatting the first list item differently. Instead, I want to have two panes where the first one shows only the first item, the other pane shows items starting from the second one.

Cheers,
Olav

Comments

Clearly the view content

merlinofchaos's picture

Clearly the view content type needs to support the offset. I'll be sure to put this into the next release.

Found out myself, thank you

olav's picture

The issue/patch is there.

Hey, checked your patch and

amitaibu's picture

Hey, checked your patch and it works very nice, thanks.
I've got a question. I have a view with an image (using Imagecache). First image should appear big, and the other normal.

How can I theme the images differently than? (apart of using one time the Block view and the second the Page view- since I don't want it to create a page)

Panels

Group organizers

Group notifications

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