I'd like to create a news page - something like http://nodequeue.demo.logrus.com - but it's a bit more complicated.

I'd like to show the first two element of a nodequeue list as teaster and the rest as list. For example imagine that the "World box" at the frontpage of the demo looks like this:

######################################################

Word

Militant Belgian waffles take credit for chocolate explosion in Brussels; no injuries reported

node #3 (story) - Oppeto scisco pertineo. Usitas proprius iusto. Illum consectetuer qui eligo plaga huic ad. Scisco suscipere similis nutus comis cogo ibidem nibh oppeto laoreet. Illum eu plaga modo meus iaceo torqueo. Iriure luptatum gravis bene fere virtus iriure iriure rusticus ea. Similis nisl letalis vicis premo. Nutus voco wisi odio incassum similis defui. Comis valde vulpes commoveo laoreet uxor comis.
Torqueo refoveo dolore quidem huic camur sudo minim. Te aliquam inhibeo tamen abbas valetudo hos iustum quadrum. Lucidus esse modo caecus venio voco sudo metuo luctus.
» Read more

Liechtenstein threatens Congo: "Get off our borders"

node #94 (story) - Vel molior huic probo tincidunt nibh luptatum refoveo. Utinam populus hendrerit ibidem loquor pneum utinam singularis ea. Hos tamen hendrerit cogo. Ullamcorper iriure jus verto sagaciter velit ludus populus dolor ymo. Eros damnum ludus mauris plaga. Obruo natu huic validus sit scisco.
» Read more

  • 15 miners die in fake ID collapse in Euritania
  • Madagascar suddenly disappears; South African leader shows little interest
  • Rush on Tickle Me Elmo Doll causes 15 deaths in Qandahar; conspiracy theorists blamed

########################################################

+the the teasters should be side by side...

How can one do this?

Should I do two view (a teaster and a list) of the queue?

Should I use mini panels?

Should I use variations of Offset and Number of Posts?

Where to start?

Comments

sun’s picture

Status: Active » Fixed

You could try to use a two-column panels page containing two view panes.

thamas’s picture

Thanks for your suggestion! Should I create a views pane for the teasters and an other for the list? I trying to use views panes but I have som problems with them - see #284297: Not able to add Panels View Panes to panel page

Could you give some more detailed information (how to set the views panes)?

Thanks!

thamas’s picture

Status: Fixed » Postponed (maintainer needs more info)
thamas’s picture

Status: Postponed (maintainer needs more info) » Fixed

A possible solution:

Set the nodequeue and the views as at nodqueue.demo.logrus.com.

Enable legacy views.

Create a mini pane, from the flexible layout with two column (for example 60%, 40% width)

Left column:
First add the view as: embedded, Link title to view, Num posts: 1, Offset: 0; Argument: the ID of your required taxonomy term.
Then add the view as: block, Link title to view, Num posts: 3, Offset: 2; Argument: the same taxonomy term ID.

Right column:
Add the view as: embedded, Link title to view, Num posts: 1, Offset: 1; Argument: the same taxonomy term ID.

Then enable adding mini panels to panel pages and add this mini panel to the panel page.

That's all, and it works for me! :o)

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.