SlideShare a Scribd company logo
Drupal NYC Meetup @ Oct 9th 2019
@reactfordrupal.co
"Entity Reference with Layout: 

Integrating Paragraphs with Drupal 8's Layout System"
@Italo Mairo - www.italomairo.com
Drupal NYC Meetup @ Oct 9th 2019
@reactfordrupal.co
"Entity Reference with Layout: 

Integrating Paragraphs with Drupal 8's Layout System"
@Italo Mairo - www.italomairo.com
This talk will describe the experimental and unique approach of the
ERL module, which couples the nested structure of Paragraphs
entities with the flexibility of the Drupal 8 core Layout system,
providing an elegant and interactive administrative UI. 

We'll examine basic and advanced D8 layouts, the advantages of the
ERL module, and a real complex case in which it was successfully
adopted.
Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com )
Who I am … Italo Mairo
• Drupal Web Solutions Architect at the United Nations in NYC;

• Long standing (15+ years) experience in open-source Web solutions;

• Special interest on Web 2.0 GIS with (full and almost full) opesource Mapping
frameworks and Drupal (since v7) …

• creator of the Geofield Map for D8 and lead maintainer of the whole Drupal 8
Geofield Mapping stack (including Geofield, Leaflet, and Geocoder). 

• You can learn more about me on my Linkedin profile 

and at http://www.italomairo.com
Experienced Drupal developer and active contributor on Drupal.org (itamair)
Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com )
"Entity Reference with Layout: 

Integrating Paragraphs with D8's Layout System"
The Context
Building Advanced Drupal 8 web pages
with Complex Graphic Mockups
and Contents/Blocks Layouts
Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com )Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com )
Source: https://nicepage.com/doc/article/20348/web-design-3-0-when-your-web-design-really-matters
How Web Design as changed …
Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com )Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com )
Source: https://nicepage.com/doc/article/20348/web-design-3-0-when-your-web-design-really-matters
How Web Design as changed …
Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com )
Real use case
Andvanced Home Page Mockup
to reproduce into Drupal 8 Layout
Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com )
"Entity Reference with Layout: 

Integrating Paragraphs with D8's Layout System"
Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com )
Traditional / Available Drupal 8 approaches to

Advanced Home Page Layouting & Theming
- Nested Paragraphs, with Paragraphs module
(contrib module) 

and possible others contrib, 

such as Boostrap Paragraphs;

Live Demo
- Bricks module (contrib module) 

and D8 Layout API system (core);
Live demo
- D8 Layout API system and Layout Builder 

(core modules);
Live demo
Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com )
Entity Reference with Layout
• created by Justin Toupin (justin2pin), 

CEO of Aten Design Group
• entity_reference_layout on drupal.org
“Entity Reference with Layout empowers content creators to design
beautiful pages with structured content (aka Paragraphs). It borrows
concepts from other paragraphs-inspired modules like Bricks, and
provides authors with a way to visually manipulate referenced entities and
create unique page layouts. Entity Reference with Layout leverages
Drupal’s core Layout Discovery module.”
Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com )
Some Info Resources:
Drupal 8 Paragraphs + Layout Discovery (Aten Blog)

Drupal 8 Paragraphs + Layout Discovery (J.Toupin at Stanford WebCamp)

How is Entity Reference with Layout different from Layout Builder?
Entity Reference with Layout
Drupal Paragraphs plus easy Layout control.
The module is experimental and still under active development

(alpha state, but confidently usable, imo)
• entity_reference_layout on drupal.org
dependencies:
- drupal:paragraphs
- drupal:layout_discovery
- drupal:inline_entity_form
Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com )
Layouts are Used By
• Layout Builder (core)

• Bootstrap Layouts (contrib)

• Bricks (contrib)

• … a number of other modules
Layouts in Drupal 8
A Layout consists of:
• Template with regions (yaml file)

• Library (CSS + Javascript)

• Layout Plugin
JS
CSS
@credits: Justin Toupin
Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com )
Typical case of Home Page nested Paragraphs Types
Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com )
Layouting with Entity Reference with Layout
We need to:

a. choose the paragraphs you want
available for your field reference

(the Paragraphs Type option)
Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com )
Layouting with Entity Reference with Layout
We need to:

a. choose the paragraphs you want
available for your field reference

(the Paragraphs Type option)
b.choose the paragraph you want to
associate with layouts (the Layout
Bundles options).
c. choose the Allowed Layouts,
among the found in the application
(Layout Discovery) , that should be
available in the Erl widget.
Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com )
Continous Integration with Layouting Solutions - How To?
Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com )
Continous Integration with Layouting Solutions - How To?
Drupal 8 Configurations Syncronization cannot
be applied to replicate local page Layout
settings into Dev and Production environments.
All Drupal 8 Layout techniques (Paragraphs,
Bricks, Layout Builder) are acting on specific
entities formatters/renderers.
Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com )
Working solution tested:

• Default Content for D8 module, 

with Better Normalizers and Default Content Extra modules.

• Default Content Deploy module (depends from Default Content)
Solution not tested (may/should work):

• Deploy module,
Might be implemented Versioning and Transfer/Deploy of Content.
Continous Integration with Layouting Solutions
Configuration synchronization for nodes utilizing Layout Builder
ERL compatibility with Default Content for D8 module
Some Related issues:
Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com )
Thaaannnnks!
… and Happy Layouting

with Drupal 8

More Related Content

Recently uploaded

WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownloadvrstrong314
 
A Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data MigrationA Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data MigrationHelp Desk Migration
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandIES VE
 
iGaming Platform & Lottery Solutions by Skilrock
iGaming Platform & Lottery Solutions by SkilrockiGaming Platform & Lottery Solutions by Skilrock
iGaming Platform & Lottery Solutions by SkilrockSkilrock Technologies
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Anthony Dahanne
 
How to install and activate eGrabber JobGrabber
How to install and activate eGrabber JobGrabberHow to install and activate eGrabber JobGrabber
How to install and activate eGrabber JobGrabbereGrabber
 
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...Abortion Clinic
 
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...Alluxio, Inc.
 
CompTIA Security+ (Study Notes) for cs.pdf
CompTIA Security+ (Study Notes) for cs.pdfCompTIA Security+ (Study Notes) for cs.pdf
CompTIA Security+ (Study Notes) for cs.pdfFurqanuddin10
 
A Guideline to Gorgias to to Re:amaze Data Migration
A Guideline to Gorgias to to Re:amaze Data MigrationA Guideline to Gorgias to to Re:amaze Data Migration
A Guideline to Gorgias to to Re:amaze Data MigrationHelp Desk Migration
 
KLARNA - Language Models and Knowledge Graphs: A Systems Approach
KLARNA -  Language Models and Knowledge Graphs: A Systems ApproachKLARNA -  Language Models and Knowledge Graphs: A Systems Approach
KLARNA - Language Models and Knowledge Graphs: A Systems ApproachNeo4j
 
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1KnowledgeSeed
 
JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)Max Lee
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfOrtus Solutions, Corp
 
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with StrimziStrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzisteffenkarlsson2
 
10 Essential Software Testing Tools You Need to Know About.pdf
10 Essential Software Testing Tools You Need to Know About.pdf10 Essential Software Testing Tools You Need to Know About.pdf
10 Essential Software Testing Tools You Need to Know About.pdfkalichargn70th171
 
De mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEDe mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEJelle | Nordend
 
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...rajkumar669520
 
GraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysisGraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysisNeo4j
 

Recently uploaded (20)

WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
 
A Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data MigrationA Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data Migration
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
 
iGaming Platform & Lottery Solutions by Skilrock
iGaming Platform & Lottery Solutions by SkilrockiGaming Platform & Lottery Solutions by Skilrock
iGaming Platform & Lottery Solutions by Skilrock
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
 
How to install and activate eGrabber JobGrabber
How to install and activate eGrabber JobGrabberHow to install and activate eGrabber JobGrabber
How to install and activate eGrabber JobGrabber
 
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
 
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
 
CompTIA Security+ (Study Notes) for cs.pdf
CompTIA Security+ (Study Notes) for cs.pdfCompTIA Security+ (Study Notes) for cs.pdf
CompTIA Security+ (Study Notes) for cs.pdf
 
A Guideline to Gorgias to to Re:amaze Data Migration
A Guideline to Gorgias to to Re:amaze Data MigrationA Guideline to Gorgias to to Re:amaze Data Migration
A Guideline to Gorgias to to Re:amaze Data Migration
 
KLARNA - Language Models and Knowledge Graphs: A Systems Approach
KLARNA -  Language Models and Knowledge Graphs: A Systems ApproachKLARNA -  Language Models and Knowledge Graphs: A Systems Approach
KLARNA - Language Models and Knowledge Graphs: A Systems Approach
 
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
 
JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with StrimziStrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi
 
10 Essential Software Testing Tools You Need to Know About.pdf
10 Essential Software Testing Tools You Need to Know About.pdf10 Essential Software Testing Tools You Need to Know About.pdf
10 Essential Software Testing Tools You Need to Know About.pdf
 
De mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEDe mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FME
 
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
 
GraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysisGraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysis
 

Featured

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Featured (20)

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

Entity Reference with Layout: 
Integrating Paragraphs with Drupal 8's Layout System

  • 1. Drupal NYC Meetup @ Oct 9th 2019 @reactfordrupal.co "Entity Reference with Layout: 
 Integrating Paragraphs with Drupal 8's Layout System" @Italo Mairo - www.italomairo.com
  • 2. Drupal NYC Meetup @ Oct 9th 2019 @reactfordrupal.co "Entity Reference with Layout: 
 Integrating Paragraphs with Drupal 8's Layout System" @Italo Mairo - www.italomairo.com This talk will describe the experimental and unique approach of the ERL module, which couples the nested structure of Paragraphs entities with the flexibility of the Drupal 8 core Layout system, providing an elegant and interactive administrative UI. We'll examine basic and advanced D8 layouts, the advantages of the ERL module, and a real complex case in which it was successfully adopted.
  • 3. Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com ) Who I am … Italo Mairo • Drupal Web Solutions Architect at the United Nations in NYC; • Long standing (15+ years) experience in open-source Web solutions; • Special interest on Web 2.0 GIS with (full and almost full) opesource Mapping frameworks and Drupal (since v7) … • creator of the Geofield Map for D8 and lead maintainer of the whole Drupal 8 Geofield Mapping stack (including Geofield, Leaflet, and Geocoder). • You can learn more about me on my Linkedin profile 
 and at http://www.italomairo.com Experienced Drupal developer and active contributor on Drupal.org (itamair)
  • 4. Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com ) "Entity Reference with Layout: 
 Integrating Paragraphs with D8's Layout System" The Context Building Advanced Drupal 8 web pages with Complex Graphic Mockups and Contents/Blocks Layouts
  • 5. Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com )Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com ) Source: https://nicepage.com/doc/article/20348/web-design-3-0-when-your-web-design-really-matters How Web Design as changed …
  • 6. Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com )Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com ) Source: https://nicepage.com/doc/article/20348/web-design-3-0-when-your-web-design-really-matters How Web Design as changed …
  • 7. Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com ) Real use case Andvanced Home Page Mockup to reproduce into Drupal 8 Layout Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com ) "Entity Reference with Layout: 
 Integrating Paragraphs with D8's Layout System"
  • 8. Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com ) Traditional / Available Drupal 8 approaches to Advanced Home Page Layouting & Theming - Nested Paragraphs, with Paragraphs module (contrib module) 
 and possible others contrib, 
 such as Boostrap Paragraphs; Live Demo - Bricks module (contrib module) 
 and D8 Layout API system (core); Live demo - D8 Layout API system and Layout Builder 
 (core modules); Live demo
  • 9. Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com ) Entity Reference with Layout • created by Justin Toupin (justin2pin), 
 CEO of Aten Design Group • entity_reference_layout on drupal.org “Entity Reference with Layout empowers content creators to design beautiful pages with structured content (aka Paragraphs). It borrows concepts from other paragraphs-inspired modules like Bricks, and provides authors with a way to visually manipulate referenced entities and create unique page layouts. Entity Reference with Layout leverages Drupal’s core Layout Discovery module.”
  • 10. Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com ) Some Info Resources: Drupal 8 Paragraphs + Layout Discovery (Aten Blog) Drupal 8 Paragraphs + Layout Discovery (J.Toupin at Stanford WebCamp) How is Entity Reference with Layout different from Layout Builder? Entity Reference with Layout Drupal Paragraphs plus easy Layout control. The module is experimental and still under active development
 (alpha state, but confidently usable, imo) • entity_reference_layout on drupal.org dependencies: - drupal:paragraphs - drupal:layout_discovery - drupal:inline_entity_form
  • 11. Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com ) Layouts are Used By • Layout Builder (core) • Bootstrap Layouts (contrib) • Bricks (contrib) • … a number of other modules Layouts in Drupal 8 A Layout consists of: • Template with regions (yaml file) • Library (CSS + Javascript) • Layout Plugin JS CSS @credits: Justin Toupin
  • 12. Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com ) Typical case of Home Page nested Paragraphs Types
  • 13. Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com ) Layouting with Entity Reference with Layout We need to: a. choose the paragraphs you want available for your field reference
 (the Paragraphs Type option)
  • 14. Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com ) Layouting with Entity Reference with Layout We need to: a. choose the paragraphs you want available for your field reference
 (the Paragraphs Type option) b.choose the paragraph you want to associate with layouts (the Layout Bundles options). c. choose the Allowed Layouts, among the found in the application (Layout Discovery) , that should be available in the Erl widget.
  • 15. Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com ) Continous Integration with Layouting Solutions - How To?
  • 16. Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com ) Continous Integration with Layouting Solutions - How To? Drupal 8 Configurations Syncronization cannot be applied to replicate local page Layout settings into Dev and Production environments. All Drupal 8 Layout techniques (Paragraphs, Bricks, Layout Builder) are acting on specific entities formatters/renderers.
  • 17. Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com ) Working solution tested: • Default Content for D8 module, 
 with Better Normalizers and Default Content Extra modules. • Default Content Deploy module (depends from Default Content) Solution not tested (may/should work): • Deploy module, Might be implemented Versioning and Transfer/Deploy of Content. Continous Integration with Layouting Solutions Configuration synchronization for nodes utilizing Layout Builder ERL compatibility with Default Content for D8 module Some Related issues:
  • 18. Drupal NYC Meetup - 9th Oct 2019 - Entity Reference with Layout: Integrating Paragraphs with D8's Layout System (@Italo Mairo - www.italomairo.com ) Thaaannnnks! … and Happy Layouting
 with Drupal 8