drupal: a short introduction to page manager and panels

24
Page Manager Panels Steven Van den Hout

Upload: steven-van-den-hout

Post on 20-Jun-2015

2.574 views

Category:

Technology


2 download

DESCRIPTION

A short introduction to Page Manager and Panels. What is Pagemanager? How can we use panels to improve the Drupal core Block System. Explain some basic principles about variants, contexts, selection rules, and handlers. Demo with Panopoly, and hands on with an exercise

TRANSCRIPT

Page 1: Drupal: A short introduction to Page Manager and Panels

Page Manager Panels

Steven Van den Hout

Page 2: Drupal: A short introduction to Page Manager and Panels

Drupal Developer @ Calibrate @stevenvdhout @calibrators

Steven Van den Hout

Page 3: Drupal: A short introduction to Page Manager and Panels

Page Manager (start) pages

URL

Page 4: Drupal: A short introduction to Page Manager and Panels

Panels Block Improvements

Layouts

Page 5: Drupal: A short introduction to Page Manager and Panels

Core Blocks Hard to Manage

No Context

Performance Issue

Page 6: Drupal: A short introduction to Page Manager and Panels

Hard To Manage

Page 7: Drupal: A short introduction to Page Manager and Panels

No Context

Page 8: Drupal: A short introduction to Page Manager and Panels

No Context

Page 9: Drupal: A short introduction to Page Manager and Panels

Performance Issue

Every block is loaded on page load Disabled blocks as well

Page 10: Drupal: A short introduction to Page Manager and Panels

Panopoly

Powerfull base Distribution of Drupal powered by lots of Chaos

Tools and Panels magic

Page 11: Drupal: A short introduction to Page Manager and Panels

DEMOTIME

Page 12: Drupal: A short introduction to Page Manager and Panels

THEORY

Page 13: Drupal: A short introduction to Page Manager and Panels

Theory Context Variants

Selection Rules

Handlers

Page 14: Drupal: A short introduction to Page Manager and Panels

Context Node/%node/view USER/%user/view

CURRENT USER LANGUAGE

Page 15: Drupal: A short introduction to Page Manager and Panels

Variants

Content Type User Role Language

Page 16: Drupal: A short introduction to Page Manager and Panels

Selection Rules

Use this variant only for nodes of type Page

Administrators

ALL/Only one criteria must pass

Page 17: Drupal: A short introduction to Page Manager and Panels

HAndlers

HTTP Response Code Panels

Context Admin

Page 18: Drupal: A short introduction to Page Manager and Panels

HTTP Response code

403 Access Denied 404 Page not Found

410 Gone 301 Redirect

Page 19: Drupal: A short introduction to Page Manager and Panels

Page Manager Context Variants

Selection Rules

Handlers

Page 20: Drupal: A short introduction to Page Manager and Panels

Hands ON

Page 21: Drupal: A short introduction to Page Manager and Panels

Contrib

Fieldable Panel Panes Context Admin

Panelizer

Panels Breadcrumbs

Page 22: Drupal: A short introduction to Page Manager and Panels

Resources

Videos nodeone

Page 23: Drupal: A short introduction to Page Manager and Panels

Questions

Page 24: Drupal: A short introduction to Page Manager and Panels

FInish