Panels

Karl Kedrovsky
VML
karl.kedrovsky@vml.com
karl@kedrovsky.com
@karlkedrovsky

Goals

  • Understand how different pieces of the panels ecosystem go together
  • See what functionality each piece provides
  • Get enough info to make a good decision on your next project

Overview

  • Page Manager
  • Panels
  • Panels IPE
  • Panelizer
  • Mini Panels
  • Fieldable Panel Panes
  • Panels Everywhere

Page Manager

  • Provides infrastructure for adding "variants" when displaying a page
  • Comes with one variant - HTTP response

DEMO!

Panels

  • Adds a new "panels" variant to Page Manager
  • Panel pages - custom landing pages (not nodes)
  • Panel nodes - a new Panel content type
  • Panel pages are more flexible than panel nodes but they're not nodes

DEMO!

Panels IPE

Provides a better interface for managing panel layouts and content.

DEMO!

Mini Panels

  • They work a lot like blocks (and can contain blocks)
  • Exposed as normal blocks
  • Much more powerful display criteria
  • Have the same layout options as other panels

DEMO!

Panelizer

Allows you to use panels to lay out nodes.

DEMO!

Panelizer vs Panel Node

  • Panel Node is just a single node type
  • Panelizer can be used on multiple nodes
  • Panelizer can be applied to any entity
  • Panelizer applies to individual view modes

Fieldable Panel Panes

  • Define panes that are entities
  • Include fields, revisions, etc. just like nodes
  • Easily create a library of panes that can be used anywhere

DEMO!

Panels Everywhere

  • Takes over page layout (as opposed to content/node layout)
  • Replacement for Drupal's block placement system

DEMO!

Links - Articles

Links - Modules

Thank You!

Questions?