Building reusable components for panels with fieldable panel panes

Post on 23-Aug-2014

119 Views

Category:

Internet

3 Downloads

Preview:

Click to see full reader

DESCRIPTION

 

Transcript

Building reusable components for Panels with

Fieldable Panel Panes

Vadim Hîrbu

Drupal Developer

vadim.hirbu@wearepropeople.com

Agenda

wearepropeople.com

- Introduction in Entities- Fieldable Panel Panes (FPP)- Create FPP- Display FPP- Control Access- Demo- Q&A

Entity types > Bundles > Fields > Entities

wearepropeople.com

Entity types

wearepropeople.com

Entity types > Bundles > Fields > Entities

wearepropeople.com

Bundles

wearepropeople.com

Bundles of entity type node

Entity types > Bundles > Fields > Entities

wearepropeople.com

Entity types > Bundles > Fields > Entities

wearepropeople.com

Entity

wearepropeople.com

One instance of a particular: - entity type (comment, taxonomy term, user profile) - bundle (blog post, article, product)

Fieldable Panel Panes (FPP)

wearepropeople.com

- An entity that can be added as a pane- Create on panel pane or on administrative UI- Full access control- Supports bundles through a hook (UI for dev version)- Translatable panes- Can be exported and imported

Statistics

wearepropeople.com

2,593 sites Fieldable Panel Panes

FPP interface

wearepropeople.com

wearepropeople.com

FPP operations

Manage FPP’s fields

wearepropeople.com

Manage FPP’s display

wearepropeople.com

Entity View Mode = more view modes

wearepropeople.com

Export FPP bundle

wearepropeople.com

Add FPP Entity

List of Entities

wearepropeople.com

Add FPP Entity direct on Panel Page

Reusable panes

Create FPP Bundle

wearepropeople.com

List of FPP bundles

wearepropeople.com

Control Access of FPP

wearepropeople.com

hook_entity_info_alter()

wearepropeople.com

CTools plugin

wearepropeople.com

It’s time for DEMO

wearepropeople.com

Thank you!

top related