Top Banner
Building reusable components for Panels with Fieldable Panel Panes Vadim Hîrbu Drupal Developer [email protected]
31

Building reusable components for panels with fieldable panel panes

Aug 23, 2014

Download

Internet

Vadim Hirbu

 
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Building reusable components for panels with fieldable panel panes

Building reusable components for Panels with

Fieldable Panel Panes

Vadim Hîrbu

Drupal Developer

[email protected]

Page 2: Building reusable components for panels with fieldable panel panes

Agenda

wearepropeople.com

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

Page 3: Building reusable components for panels with fieldable panel panes

Entity types > Bundles > Fields > Entities

wearepropeople.com

Page 4: Building reusable components for panels with fieldable panel panes

Entity types

wearepropeople.com

Page 5: Building reusable components for panels with fieldable panel panes

Entity types > Bundles > Fields > Entities

wearepropeople.com

Page 6: Building reusable components for panels with fieldable panel panes

Bundles

wearepropeople.com

Bundles of entity type node

Page 7: Building reusable components for panels with fieldable panel panes

Entity types > Bundles > Fields > Entities

wearepropeople.com

Page 8: Building reusable components for panels with fieldable panel panes

Fields

wearepropeople.com

Page 9: Building reusable components for panels with fieldable panel panes

Entity types > Bundles > Fields > Entities

wearepropeople.com

Page 10: Building reusable components for panels with fieldable panel panes

Entity

wearepropeople.com

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

Page 11: Building reusable components for panels with fieldable panel panes

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

Page 12: Building reusable components for panels with fieldable panel panes

Statistics

wearepropeople.com

2,593 sites Fieldable Panel Panes

Page 13: Building reusable components for panels with fieldable panel panes

FPP interface

wearepropeople.com

Page 14: Building reusable components for panels with fieldable panel panes

wearepropeople.com

FPP operations

Page 15: Building reusable components for panels with fieldable panel panes

Manage FPP’s fields

wearepropeople.com

Page 16: Building reusable components for panels with fieldable panel panes

Manage FPP’s display

wearepropeople.com

Page 17: Building reusable components for panels with fieldable panel panes

Entity View Mode = more view modes

wearepropeople.com

Page 18: Building reusable components for panels with fieldable panel panes

Export FPP bundle

wearepropeople.com

Page 19: Building reusable components for panels with fieldable panel panes

Add FPP Entity

Page 20: Building reusable components for panels with fieldable panel panes

List of Entities

wearepropeople.com

Page 21: Building reusable components for panels with fieldable panel panes

Add FPP Entity direct on Panel Page

Page 22: Building reusable components for panels with fieldable panel panes

Reusable panes

Page 23: Building reusable components for panels with fieldable panel panes

Results

wearepropeople.com

Page 24: Building reusable components for panels with fieldable panel panes

Create FPP Bundle

wearepropeople.com

Page 25: Building reusable components for panels with fieldable panel panes

List of FPP bundles

wearepropeople.com

Page 26: Building reusable components for panels with fieldable panel panes

Control Access of FPP

wearepropeople.com

Page 27: Building reusable components for panels with fieldable panel panes

hook_entity_info_alter()

wearepropeople.com

Page 28: Building reusable components for panels with fieldable panel panes

CTools plugin

wearepropeople.com

Page 29: Building reusable components for panels with fieldable panel panes

It’s time for DEMO

wearepropeople.com

Page 30: Building reusable components for panels with fieldable panel panes

Thank you!

Page 31: Building reusable components for panels with fieldable panel panes