Panels 2 and Nodequeue 2

50 %
50 %
Information about Panels 2 and Nodequeue 2

Published on March 4, 2008

Author: merlinofchaos

Source: slideshare.net

Description

Building a Drupal-based news site with Panels 2 and Nodequeue 2

Panels 2 + Nodequeue 2 Editorial control of content presentation

Objectives Create a simple “news” site Create a complex front page that hints at our content Create “section” entry pages that lead the user to content Control what content is featured on these pages http://nodequeue.demo.logrus.com

Create a simple “news” site

Create a complex front page that hints at our content

Create “section” entry pages that lead the user to content

Control what content is featured on these pages

http://nodequeue.demo.logrus.com

 

 

 

Basic premise News articles can be any content type Control sections by taxonomy We’re not worrying about editorial control We’re not publishing on a schedule

News articles can be any content type

Control sections by taxonomy

We’re not worrying about editorial control

We’re not publishing on a schedule

Why these two modules? Finer layout control than blocks Lets each pane know about data on page Overrides basic pages Pluggable and expandable to handle more objects Lets the editor control order Lets the editor control length Automatically pairs with taxonomy Panels Nodequeue

Finer layout control than blocks

Lets each pane know about data on page

Overrides basic pages

Pluggable and expandable to handle more objects

Lets the editor control order

Lets the editor control length

Automatically pairs with taxonomy

What’s a queue? 5 4 3 2 1 This end of the queue is the Tail or Back This end of the queue is the Head or Front New items are inserted at the tail of the queue. If a queue has a maximum size, the front of the queue is popped off.

Featured Stories Story A Story B Story C Story D Story E Featured stories is a nodequeue with a maximum queue size of 5. Story A was added first and is currently at the front of the queue. Story E was just added and is now at the back of the queue.

Story A

Story B

Story C

Story D

Story E

Featured Stories Story B Story C Story D Story E Story F When we added Story F to the queue, Story A popped off the front and is no longer a featured story.

Story B

Story C

Story D

Story E

Story F

Lead Article Story Q The Lead Article queue has a maximum size of one. Every time a new lead article is added to the queue, the former lead article is popped out, meaning there is only ever one lead article at a time.

Story Q

Queues can be re-ordered

Queues can be re-ordered This is the front of the queue

Queues can be re-ordered And this is the back of the queue

That is, unless this box is checked:

Queues can be re-ordered When reversed, this is the back of the queue.

Smartqueues One queue with many subqueues Pluggable system Can attach queues to arbitrary data All queues have the same basic configuration Many queues won’t clog up the UI Subqueues are created as needed Smartqueue taxonomy: 1 term, 1 subqueue

One queue with many subqueues

Pluggable system

Can attach queues to arbitrary data

All queues have the same basic configuration

Many queues won’t clog up the UI

Subqueues are created as needed

Smartqueue taxonomy: 1 term, 1 subqueue

Your average site Header Left Sidebar Footer Right Sidebar Content

Panels: Content

Now with panels Header Left Sidebar Footer Right Sidebar

Contexts are objects Nodes Users Taxonomy terms Forms Any other object someone writes a plugin for

Nodes

Users

Taxonomy terms

Forms

Any other object someone writes a plugin for

Context source: Arguments http://www.example.com/node/12345 Node: Story XYZ

Context source: Relationships Node: Story XYZ Taxonomy Term Post Author Node: Author Profile

Context at work Header Left Sidebar Footer Right Sidebar Node: Story XYZ Taxonomy Term Post Author Node: Author Profile

Node: Story XYZ node.tpl.php node-panel-foo.tpl.php Attached files CCK Field Group Add comment form

Add a comment

Related presentations

Related pages

Panels 2 and Nodequeue | Drupalcon Boston 2008

Panels 2 and Nodequeue. Platinum and gold sponsors. merlinofchaos ... What is a nodequeue? What is a panel, display, pane? How is the front page built?
Read more

DrupalCon Boston 2008 - Panels 2 and Nodequeue : Free ...

DrupalCon Boston 2008 - Panels 2 and Nodequeue Movies Preview ... Earl Miles gives an overview of using Panels 2 and NodeQueue to build a news portal.
Read more

Panels | Drupal.org

An Overview of Panels The Panels module allows a site administrator to create customized layouts for ... We hope to get 2 releases a year. Supporting ...
Read more

Take Control of your Homepage with Nodequeue, Views and Panels

Take Control of your Homepage with Nodequeue, Views and Panels. Recently we built this site, ... Nodequeue; Panels 2 (mini-panels to be specific) Views;
Read more

A new demo for Panels and Nodequeue | Angry Donuts

Home » A new demo for Panels and Nodequeue . ... Nodequeue 5.x-2.0 ... but it needs a couple of patches before it'll be released as Nodequeue 2), Panels 5 ...
Read more

Nodequeue | Drupal.org

Smartqueue API Nodequeue provides a robust API that allows other modules to define ... 2 years ago, first: 2 years ago. amateescu - 143 commits. ...
Read more

Måste ses: demo av Panels 2 och NodeQueue | Drupal Groups

I min rapport från DrupalCon 2007 i Barcelona skrev jag att nästa version av Panels kommer att revolutionera Drupal på samma sätt som Views, en annan ...
Read more

Goethe-Universität — Panel 2: Religionsdidaktische ...

Panel 2: Religionsdidaktische Konzeptionen & Prinzipien. Panelleitung: Mouhanad Khorchide, Münster/Mark Chalîl Bodenstein, Frankfurt. In der ...
Read more

Minecraft mods Advanced Solar Panels 1.5.2/1.6.2 | Anook

Check out Minecraftfreemods's profile on Anook and follow her gaming ... Advanced Solar Panels This addon based on "Icedfire" Advanced SolarPanel v1.2 ...
Read more