SlideShare uma empresa Scribd logo
1 de 35
Baixar para ler offline
#DrupalcampSpain2015@hernanibf
When content editors ask for full flexibility
Hernâni Borges de Freitas #DrupalcampSpain2015
#DrupalcampSpain2015@hernanibf #DrupalcampSpain2015
About me
Technical	
  Team	
  Lead	
  Acquia	
  
.PT	
  	
  
Drupal*	
  many	
  things	
  
	
  
	
  
Twitter.com/hernanibf	
  
	
  
	
  
@hernanibf
#DrupalcampSpain2015@hernanibf
About my work @ Acquia
An architect in Acquia prepares technical solutions
for clients during different phases.
•  Discovery
•  Solution/Specification
•  Development phase
•  Deployment
#DrupalcampSpain2015@hernanibf
Meet the demanding content editor
#DrupalcampSpain2015@hernanibf
•  He wants to control most of the details how
content appears on the web site.
•  He typically works on websites where content is
king: media, entertainment, corporate
websites.
•  Tech savvy on his own way - does not accept
technical limits - if the system does not allow
something, he will find a way of doing it
anyway.
Meet the demanding content editor
#DrupalcampSpain2015@hernanibf
Typical demands
§  Change website look and feel.
§  Reuse content anywhere.
§  Review / preview / approve / schedule content
as it will appear.
§  Readapt site purpose on special events.
§  CMS should be easy to understand, fast to
execute and free of problems J
#DrupalcampSpain2015@hernanibf
Problem
§  Disconnection between content and layout.
§  Disconnection between site building and
content edition.
§  Drupal mantra of create content first, and it will
display on different sections automagically.
§  Lack of revisioning system in many pieces of
the puzzle (menus, taxonomy, blocks).
#DrupalcampSpain2015@hernanibf
Rule
The best tool?
Most of the times, the one you know how to
use.
#DrupalcampSpain2015@hernanibf
#1 Problem – Content
Structure
http://paragraphs.site-showcase.com/demos/
creme-caramel
#DrupalcampSpain2015@hernanibf
#DrupalcampSpain2015@hernanibf
#1 Problem – Content Structure
A.  Free form HTML.
B.  Structured inclusive content including all items.
C.  Structured referenced content with references
among items.
D.  Unreferenced content being added through
layout.
#DrupalcampSpain2015@hernanibf
Option A - Free form HTML
§  Typically is never a good solution, but in theory
can give a lot of flexibility.
§  Hard to maintain consistency.
§  Hard to reuse content.
§  WYSIWYG hard to use and manage even with
placeholders.
§  Hard to avoid errors from Content Editors (CE’s)
#DrupalcampSpain2015@hernanibf
Option B – Inclusive content
All content details are stored in the content item
using fields. Good for pages with lots of details
reused elsewhere.
Typical implementations:
•  Compound fields (custom or contributed).
•  Field collection module / Paragraphs module.
Paragraphs
#DrupalcampSpain2015@hernanibf
Option C – Referenced content
Different parts of content items are split in different
entities which are referenced from the main entity.
Typical implementations:
§  Entity reference field with inline entity form.
§  Extra modules like references dialog module can
help on browsing existing content.
§  Back references to help glue content (CER).
Inline Entity Form
#DrupalcampSpain2015@hernanibf
#2 - Manage individual page layout
How do I create a new rich page layout in Drupal?
Options:
A.  Core template system
B.  Display suite
C.  Panels / Panelizer
#DrupalcampSpain2015@hernanibf
Template system
•  Prepare different Drupal templates that are
selected depending on some attributes (node
type, field, etc..).
•  Use display modes and template suggestions to
pick the correct template.
#DrupalcampSpain2015@hernanibf
Display suite
View modes created by configuration. Drag and
drop fields with different formatters for different
regions.
§  Most of the layout/style can be done by site
builders.
§  Good to maintain consistency between view
modes.
Display suite
#DrupalcampSpain2015@hernanibf
Panels
•  Customized layouts for different means, including
for entity layout.
•  Support creation of pages with custom/fixed
layouts.
•  Fits well with the idea of widgets than can be drag
and dropped and configured in different regions.
#DrupalcampSpain2015@hernanibf
How to create pages with panels?
Different ways of creating pages:
•  Create independent panels.
•  Page manager with variants.
•  Panel nodes.
•  Panelizer
#DrupalcampSpain2015@hernanibf
Panelizer
•  Panel display associated with an entity.
•  Panelize an entity and add panes and fields to
different regions.
•  Slick interface with Panels IPE.
•  You can try in Panopoly or Lightning
distribution.
#DrupalcampSpain2015@hernanibf
Ctools content types
•  Configuration per instance where the pane is
present (e.g: A view that receives configuration
that depends from page to page.
•  Fieldable Panel Panes (FAPE)
•  Panels In place editor (IPE)
•  Panopoly magic
•  Panopoly widgets
#DrupalcampSpain2015@hernanibf
#3 – Workflow
How to workflow content and layout together?
Content workflow is easy
-  Workbench moderation / Workflow / … modules
Layout workflow is harder (!)
#DrupalcampSpain2015@hernanibf
#4 – Workflow and Preview
•  Easier to achieve when rich content exists as a unit.
•  Harder to achieve with lots of referenced content.
•  Easier to achieve when layout stores all the needed
configuration and is associated with revisions
(panelizer).
•  Important to think about responsive (responsive
preview helps).
#DrupalcampSpain2015@hernanibf
#5 - Workflow of complex items
Directly in production
§  Limited if not well
addressed.
§  Dependency on revision
system.
§  Panelizer integrates with
with workbench
moderation (with patches)
J
Different environments,
and deploy to production
•  Tricky balance between
content and configuration.
•  Configuration can be
shipped in code.
•  Content is quite complex
to achieve
#DrupalcampSpain2015@hernanibf
#5 - Workflow of complex items
Directly in production
Modules like:
•  Quick edit and panels in
place editor contextual
links.
•  Workbench or workflow
•  Site Preview System.
Different environments
Modules like:
•  Deploy module and
associated suite can
ship content together
with associated items.
#DrupalcampSpain2015@hernanibf
#6 – Final words – Non tech
•  Content editors are amongst the most important
project’s stakeholders.
•  They know the content and how the website will
work after architects and developers leave.
•  They care about what they see and not how does it
work.
•  Should be involved from Discovery phase to User
Acceptance Testing.
#DrupalcampSpain2015@hernanibf
#7 – Final words - tech
Success typically means
•  To be able to correctly preview
•  To be able to edit in place where content
appears
•  To be able to create and review content and
layout.
•  To be flexible and provide options for edge
cases
#DrupalcampSpain2015@hernanibf
#8 - Drupal 8
•  In place editor (Quickedit module)
•  Better support for configuration management
•  Better support for entity revisions
•  Better support for some layout management
•  Some of the modules already ported to D8
#DrupalcampSpain2015@hernanibf@hernanibf #DrupalcampSpain2015
Questions?

Mais conteúdo relacionado

Mais procurados

One drupal to rule them all - Drupalcamp Caceres
One drupal to rule them all - Drupalcamp CaceresOne drupal to rule them all - Drupalcamp Caceres
One drupal to rule them all - Drupalcamp Caceres
hernanibf
 
Anatomy and Architecture of a WordPress Theme
Anatomy and Architecture of a WordPress ThemeAnatomy and Architecture of a WordPress Theme
Anatomy and Architecture of a WordPress Theme
Julie Kuehl
 
The WordPress University
The WordPress UniversityThe WordPress University
The WordPress University
Stephanie Leary
 
Preventing Drupal Headaches: Content Type Checklist
Preventing Drupal Headaches: Content Type ChecklistPreventing Drupal Headaches: Content Type Checklist
Preventing Drupal Headaches: Content Type Checklist
Acquia
 
Academic Websites in Plone
Academic Websites in PloneAcademic Websites in Plone
Academic Websites in Plone
Jazkarta, Inc.
 

Mais procurados (20)

One drupal to rule them all - Drupalcamp Caceres
One drupal to rule them all - Drupalcamp CaceresOne drupal to rule them all - Drupalcamp Caceres
One drupal to rule them all - Drupalcamp Caceres
 
Zurb foundation
Zurb foundationZurb foundation
Zurb foundation
 
Anatomy and Architecture of a WordPress Theme
Anatomy and Architecture of a WordPress ThemeAnatomy and Architecture of a WordPress Theme
Anatomy and Architecture of a WordPress Theme
 
Top 8 Improvements in Drupal 8
Top 8 Improvements in Drupal 8Top 8 Improvements in Drupal 8
Top 8 Improvements in Drupal 8
 
Acquia Commons
Acquia CommonsAcquia Commons
Acquia Commons
 
Drupal
DrupalDrupal
Drupal
 
Getting started with CSS frameworks using Zurb foundation
Getting started with CSS frameworks using Zurb foundationGetting started with CSS frameworks using Zurb foundation
Getting started with CSS frameworks using Zurb foundation
 
The WordPress University
The WordPress UniversityThe WordPress University
The WordPress University
 
Preventing Drupal Headaches: Content Type Checklist
Preventing Drupal Headaches: Content Type ChecklistPreventing Drupal Headaches: Content Type Checklist
Preventing Drupal Headaches: Content Type Checklist
 
Introduction to Drupal
Introduction to DrupalIntroduction to Drupal
Introduction to Drupal
 
What is Drupal? And Why is it Useful? Webinar
What is Drupal? And Why is it Useful? WebinarWhat is Drupal? And Why is it Useful? Webinar
What is Drupal? And Why is it Useful? Webinar
 
Content First – Planning Drupal Content Types
Content First – Planning Drupal Content TypesContent First – Planning Drupal Content Types
Content First – Planning Drupal Content Types
 
Introduction to Drupal
Introduction to DrupalIntroduction to Drupal
Introduction to Drupal
 
Creating Web Templates for SharePoint 2010
Creating Web Templates for SharePoint 2010Creating Web Templates for SharePoint 2010
Creating Web Templates for SharePoint 2010
 
Academic Websites in Plone
Academic Websites in PloneAcademic Websites in Plone
Academic Websites in Plone
 
What is Drupal? An Introduction to Drupal 8
What is Drupal? An Introduction to Drupal 8What is Drupal? An Introduction to Drupal 8
What is Drupal? An Introduction to Drupal 8
 
Drupal vs WordPress
Drupal vs WordPressDrupal vs WordPress
Drupal vs WordPress
 
Responsive Web Design using ZURB Foundation
Responsive Web Design using ZURB FoundationResponsive Web Design using ZURB Foundation
Responsive Web Design using ZURB Foundation
 
Top 20 mistakes you will make on your 1st Drupal project
Top 20 mistakes you will make on your 1st Drupal projectTop 20 mistakes you will make on your 1st Drupal project
Top 20 mistakes you will make on your 1st Drupal project
 
Drupal - Introduction to Drupal and Web Content Management
Drupal - Introduction to Drupal and Web Content ManagementDrupal - Introduction to Drupal and Web Content Management
Drupal - Introduction to Drupal and Web Content Management
 

Semelhante a Drupal content editor flexibility

Atlanta Drupal User Group (ADUG)
Atlanta Drupal User Group (ADUG) Atlanta Drupal User Group (ADUG)
Atlanta Drupal User Group (ADUG)
Mediacurrent
 
Spark: Authoring Experience++ in Drupal 7, 8, and Beyond
Spark: Authoring Experience++ in Drupal 7, 8, and BeyondSpark: Authoring Experience++ in Drupal 7, 8, and Beyond
Spark: Authoring Experience++ in Drupal 7, 8, and Beyond
Angela Byron
 

Semelhante a Drupal content editor flexibility (20)

Speedrun: Build a Website with Panels, Media, and More in 45 Minutes
Speedrun: Build a Website with Panels, Media, and More in 45 MinutesSpeedrun: Build a Website with Panels, Media, and More in 45 Minutes
Speedrun: Build a Website with Panels, Media, and More in 45 Minutes
 
Building a Documentation Portal
Building a Documentation PortalBuilding a Documentation Portal
Building a Documentation Portal
 
Drupal 7 Search Engine Optimisation
Drupal 7 Search Engine OptimisationDrupal 7 Search Engine Optimisation
Drupal 7 Search Engine Optimisation
 
Twig in the Wild
Twig in the WildTwig in the Wild
Twig in the Wild
 
Developing Custom WordPress Themes for Clients
Developing Custom WordPress Themes for ClientsDeveloping Custom WordPress Themes for Clients
Developing Custom WordPress Themes for Clients
 
We’re Going Mobile! Great! Wait… What Does That Mean?
We’re Going Mobile! Great! Wait… What Does That Mean?We’re Going Mobile! Great! Wait… What Does That Mean?
We’re Going Mobile! Great! Wait… What Does That Mean?
 
Choosing Drupal as your Content Management Framework
Choosing Drupal as your Content Management FrameworkChoosing Drupal as your Content Management Framework
Choosing Drupal as your Content Management Framework
 
Introduction to Drupal 7 Panels - Drupalcamp Spain 2015
Introduction to Drupal 7 Panels - Drupalcamp Spain 2015Introduction to Drupal 7 Panels - Drupalcamp Spain 2015
Introduction to Drupal 7 Panels - Drupalcamp Spain 2015
 
Upgrading to Drupal 8: Benefits and Gotchas
Upgrading to Drupal 8: Benefits and GotchasUpgrading to Drupal 8: Benefits and Gotchas
Upgrading to Drupal 8: Benefits and Gotchas
 
Complex Content Structures and Workflow with Drupal
Complex Content Structures and Workflow with DrupalComplex Content Structures and Workflow with Drupal
Complex Content Structures and Workflow with Drupal
 
Implementing a Symfony Based CMS in a Publishing Company
Implementing a Symfony Based CMS in a Publishing CompanyImplementing a Symfony Based CMS in a Publishing Company
Implementing a Symfony Based CMS in a Publishing Company
 
LO3 - Lesson 21 - Page Setup
LO3 - Lesson 21 - Page SetupLO3 - Lesson 21 - Page Setup
LO3 - Lesson 21 - Page Setup
 
Developing Complex WordPress Sites without Fear of Failure (with MVC)
Developing Complex WordPress Sites without Fear of Failure (with MVC)Developing Complex WordPress Sites without Fear of Failure (with MVC)
Developing Complex WordPress Sites without Fear of Failure (with MVC)
 
Sps redmond 2014 deck
Sps redmond 2014 deckSps redmond 2014 deck
Sps redmond 2014 deck
 
Building your first webpage
Building your first webpageBuilding your first webpage
Building your first webpage
 
Drupal 8 and Pantheon
Drupal 8 and PantheonDrupal 8 and Pantheon
Drupal 8 and Pantheon
 
Querix 4 gl app analyzer 2016 journey to the center of your 4gl application
Querix 4 gl app analyzer 2016 journey to the center of your 4gl applicationQuerix 4 gl app analyzer 2016 journey to the center of your 4gl application
Querix 4 gl app analyzer 2016 journey to the center of your 4gl application
 
Atlanta Drupal User Group (ADUG)
Atlanta Drupal User Group (ADUG) Atlanta Drupal User Group (ADUG)
Atlanta Drupal User Group (ADUG)
 
Spark: Authoring Experience++ in Drupal 7, 8, and Beyond
Spark: Authoring Experience++ in Drupal 7, 8, and BeyondSpark: Authoring Experience++ in Drupal 7, 8, and Beyond
Spark: Authoring Experience++ in Drupal 7, 8, and Beyond
 
Panels - Drupal Gov Con 2016
Panels - Drupal Gov Con 2016Panels - Drupal Gov Con 2016
Panels - Drupal Gov Con 2016
 

Mais de hernanibf

Fix me if you can - DrupalCon prague
Fix me if you can - DrupalCon pragueFix me if you can - DrupalCon prague
Fix me if you can - DrupalCon prague
hernanibf
 
Drupal + selenium
Drupal + seleniumDrupal + selenium
Drupal + selenium
hernanibf
 

Mais de hernanibf (6)

Drupal Europe 2018: Hackers automate but the drupal community still downloads...
Drupal Europe 2018: Hackers automate but the drupal community still downloads...Drupal Europe 2018: Hackers automate but the drupal community still downloads...
Drupal Europe 2018: Hackers automate but the drupal community still downloads...
 
Aiming for automatic updates - Drupal Dev Days Lisbon 2018
Aiming for automatic updates - Drupal Dev Days Lisbon 2018Aiming for automatic updates - Drupal Dev Days Lisbon 2018
Aiming for automatic updates - Drupal Dev Days Lisbon 2018
 
Fix me if you can - DrupalCon prague
Fix me if you can - DrupalCon pragueFix me if you can - DrupalCon prague
Fix me if you can - DrupalCon prague
 
Drupal Performance - SerBenfiquista.com Case Study
Drupal Performance - SerBenfiquista.com Case StudyDrupal Performance - SerBenfiquista.com Case Study
Drupal Performance - SerBenfiquista.com Case Study
 
Drupal + selenium
Drupal + seleniumDrupal + selenium
Drupal + selenium
 
Drupal Recipe
Drupal RecipeDrupal Recipe
Drupal Recipe
 

Último

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

Drupal content editor flexibility