SlideShare a Scribd company logo
1 of 27
Download to read offline
Practical Panels
Mike Keran and Jared Stoneberg
Who We Are
Mike Keran
Freelance Drupal developer, site
builder and reluctant themer
drupal.org: mikeker
web: www.MikeKeran.com
twitter: @mikekeran <crickets chirping>
Who We Are
Jared Stoneberg
Partner, Number 10 Web Company
drupal.org: rocksoup
web: www.number10webcompany.com
twitter: @rock_soup
● The smartest people in the room
● The world’s greatest panels experts
● The only people who have tried to solve these problems
● The only people you should hear from
Who We Aren’t
What We are Going to Talk About
● General Concepts - Variants, Selection Rules,
Contexts
● Mini Panels
● Custom Content Panes
● Views Panes
● Panels Extensions we love: Fieldable Panels Panes,
FAPE, Custom Panels Layouts
What we won’t be talking about
● Comparisons with other systems
● Moving quickly through the beginner stuff so we have
time for the intermediate and advanced
● “Best” practices… because these are “our” practices
General Concepts
● This is a CTools system; its cousin is Views
● Panels replaces Drupal core’s block module
● Provides an easy to use layout builder
● Pluggable! Use custom code to make your own layouts,
contexts, selection criteria, etc.
Just a few terms...
Practical Panels
Practical Panels
Practical Panels
Practical Panels
Practical Panels
Practical Panels
Adding content
Extending Panels
Mini Panels
● Despite the different UI, it’s just a panel…
● … that you can put into another panel’s panes
● Perfect for headers/footers/sidebars
● Can receive context from Panel
Views Panes
● Adds a new display plugin to Views
● Override common settings on a pane-by-pane basis
● Panel context can be passed as a contextual filter
Custom Content Panes
● Easily insert custom content in a pane
● Limitations:
○ Content is saved with panel config
○ Can be difficult to restrict access
○ Can’t reuse panes
○ Hard to undo changes
Fieldable Panels Panes (FPP)
● Fieldable: Brings the FieldAPI to a custom content pane
○ (Along with all that is good about the FieldAPI:
display settings, revisions, widgets)
● Only the config gets stored in code; content remains in
the database
● Pane content is (optionally) reusable
● But it also has some limitations...
Custom Panels Layouts
Field API Pane Editor (FAPE)
Panels Extra Styles
Panels Existing Pages
● Page Manager runs into problems when you try to use it
with paths that are already “owned” by someone else,
like Core or Commerce
● PM Existing Pages allows you to wrestle those paths
back
Exportables, Features and UUIDs
https://drupal.org/node/1277908
Demo
copy of demo site at
github.com/rocksoup/panelsdemo
Questions?

More Related Content

Recently uploaded

Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationIES VE
 
UiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPathCommunity
 
AI You Can Trust - Ensuring Success with Data Integrity Webinar
AI You Can Trust - Ensuring Success with Data Integrity WebinarAI You Can Trust - Ensuring Success with Data Integrity Webinar
AI You Can Trust - Ensuring Success with Data Integrity WebinarPrecisely
 
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfMachine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfAijun Zhang
 
OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureOpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureEric D. Schabell
 
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024SkyPlanner
 
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IES VE
 
Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024D Cloud Solutions
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...Aggregage
 
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...DianaGray10
 
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online CollaborationCOMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online Collaborationbruanjhuli
 
Nanopower In Semiconductor Industry.pdf
Nanopower  In Semiconductor Industry.pdfNanopower  In Semiconductor Industry.pdf
Nanopower In Semiconductor Industry.pdfPedro Manuel
 
Empowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintEmpowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintMahmoud Rabie
 
VoIP Service and Marketing using Odoo and Asterisk PBX
VoIP Service and Marketing using Odoo and Asterisk PBXVoIP Service and Marketing using Odoo and Asterisk PBX
VoIP Service and Marketing using Odoo and Asterisk PBXTarek Kalaji
 
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsIgniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsSafe Software
 
9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding Team9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding TeamAdam Moalla
 
How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?IES VE
 
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Will Schroeder
 
Building Your Own AI Instance (TBLC AI )
Building Your Own AI Instance (TBLC AI )Building Your Own AI Instance (TBLC AI )
Building Your Own AI Instance (TBLC AI )Brian Pichman
 

Recently uploaded (20)

Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
 
UiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation Developers
 
AI You Can Trust - Ensuring Success with Data Integrity Webinar
AI You Can Trust - Ensuring Success with Data Integrity WebinarAI You Can Trust - Ensuring Success with Data Integrity Webinar
AI You Can Trust - Ensuring Success with Data Integrity Webinar
 
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfMachine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdf
 
OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureOpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability Adventure
 
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024
 
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
 
Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
 
20150722 - AGV
20150722 - AGV20150722 - AGV
20150722 - AGV
 
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
 
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online CollaborationCOMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
 
Nanopower In Semiconductor Industry.pdf
Nanopower  In Semiconductor Industry.pdfNanopower  In Semiconductor Industry.pdf
Nanopower In Semiconductor Industry.pdf
 
Empowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintEmpowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership Blueprint
 
VoIP Service and Marketing using Odoo and Asterisk PBX
VoIP Service and Marketing using Odoo and Asterisk PBXVoIP Service and Marketing using Odoo and Asterisk PBX
VoIP Service and Marketing using Odoo and Asterisk PBX
 
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsIgniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
 
9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding Team9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding Team
 
How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?
 
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
 
Building Your Own AI Instance (TBLC AI )
Building Your Own AI Instance (TBLC AI )Building Your Own AI Instance (TBLC AI )
Building Your Own AI Instance (TBLC AI )
 

Practical Panels

  • 1. Practical Panels Mike Keran and Jared Stoneberg
  • 2. Who We Are Mike Keran Freelance Drupal developer, site builder and reluctant themer drupal.org: mikeker web: www.MikeKeran.com twitter: @mikekeran <crickets chirping>
  • 3. Who We Are Jared Stoneberg Partner, Number 10 Web Company drupal.org: rocksoup web: www.number10webcompany.com twitter: @rock_soup
  • 4. ● The smartest people in the room ● The world’s greatest panels experts ● The only people who have tried to solve these problems ● The only people you should hear from Who We Aren’t
  • 5. What We are Going to Talk About ● General Concepts - Variants, Selection Rules, Contexts ● Mini Panels ● Custom Content Panes ● Views Panes ● Panels Extensions we love: Fieldable Panels Panes, FAPE, Custom Panels Layouts
  • 6. What we won’t be talking about ● Comparisons with other systems ● Moving quickly through the beginner stuff so we have time for the intermediate and advanced ● “Best” practices… because these are “our” practices
  • 7. General Concepts ● This is a CTools system; its cousin is Views ● Panels replaces Drupal core’s block module ● Provides an easy to use layout builder ● Pluggable! Use custom code to make your own layouts, contexts, selection criteria, etc.
  • 8. Just a few terms...
  • 17. Mini Panels ● Despite the different UI, it’s just a panel… ● … that you can put into another panel’s panes ● Perfect for headers/footers/sidebars ● Can receive context from Panel
  • 18. Views Panes ● Adds a new display plugin to Views ● Override common settings on a pane-by-pane basis ● Panel context can be passed as a contextual filter
  • 19. Custom Content Panes ● Easily insert custom content in a pane ● Limitations: ○ Content is saved with panel config ○ Can be difficult to restrict access ○ Can’t reuse panes ○ Hard to undo changes
  • 20. Fieldable Panels Panes (FPP) ● Fieldable: Brings the FieldAPI to a custom content pane ○ (Along with all that is good about the FieldAPI: display settings, revisions, widgets) ● Only the config gets stored in code; content remains in the database ● Pane content is (optionally) reusable ● But it also has some limitations...
  • 22. Field API Pane Editor (FAPE)
  • 24. Panels Existing Pages ● Page Manager runs into problems when you try to use it with paths that are already “owned” by someone else, like Core or Commerce ● PM Existing Pages allows you to wrestle those paths back
  • 25. Exportables, Features and UUIDs https://drupal.org/node/1277908
  • 26. Demo copy of demo site at github.com/rocksoup/panelsdemo