SlideShare uma empresa Scribd logo
1 de 57
Baixar para ler offline
Prevent Drupal Headaches!

CONTENT TYPE
CHECKLIST

Wednesday, January 22, 14

1
training.acquia.com/events

Wednesday, January 22, 14

2
Who is this for?
•

Moving from another
CMS

•

You’re planning a
new Drupal site

•

You inherited a new
Drupal site and sense
there might be
something wrong...

Wednesday, January 22, 14

3
In this presentation...
• The basics of content types
• Beware the defaults!
• The big problem: Content Architecture
• A final check when you’re ready to go live

Wednesday, January 22, 14

4
Not in this presentation...
• Views display
• File field
• Image fields and WYSIWYG
• Drupal 8 content modeling
• Improving content administration

(very important!!)

Wednesday, January 22, 14

5
Site Building Checklist
• With Suzanne of Evolving Web
• Site Building Checklist (slides)

Wednesday, January 22, 14

6
Future friendly content
• KAREN MCGRANE - Keynote, DrupalCon
portland2013.drupal.org/keynote/karen-mcgrane
(24:20 mins in)

Wednesday, January 22, 14

7
Content admins are important
• Slides: “Content Administrators are Users

Too” Karen McGrane and Jeff Eaton
slideshare.net/KMcGrane/baby-got-backendcontent-administrators-are-users-too

Wednesday, January 22, 14

8
The basics!

Wednesday, January 22, 14

9
What is a content type?
A “content type”

Wednesday, January 22, 14

A “node”

10
Assembling
• A typical Drupal “page” is made up of

assembling components from content types,
fields, blocks, views, panels, etc!
thumbnail

Wednesday, January 22, 14

text w/picture

list w/thumbnail

list

11
Content types
Article

Instruction manual

Tips

Content title

Content title

Content title

This is a guide. The best
place to start is here.
Then you can go there
and further.
Article content. A small
river named Duden
flows by their place and
supplies it with the
necessary regelialia.
tags

tags

Wednesday, January 22, 14

Download
This is a file download
Tips content. This is a
great way to use your
new product.

tags

12
About content types
• Content types have

basic settings.

Generic content type
Title

• Simple version

Author

control (revisions).

Date published

• Adding fields

extends and
customized the
content type

Comments?
Menu option?

News article

Generic plus:

Generic plus:

Date of event

Lead image

Topic

Wednesday, January 22, 14

Event

Topic

13
Content types are not...
• Content types are not page templates!
• Other CMSs workflow is “container first”.
• Define site map...
• Create page templates...

• In Drupal:

Panels, Page manager, etc. can be used.

Wednesday, January 22, 14

14
Quick demo!
• Super fast demo

filepaths.localhost:8082/admin/structure/types
Wednesday, January 22, 14

15
Typical Drupal workflow
Drupal workflow just for content modelling
1. Add the content type
2. Configure default settings
3. Add fields
4. Manage display
5. Set permissions
6. Test adding content

Wednesday, January 22, 14

16
What actually happens?
Drupal workflow just for content modelling
1. Add the content type
2. Configure default settings
3. Add fields
4. Manage display
5. Set permissions
6. Test adding content

Wednesday, January 22, 14

17
A quick checklist

Beware the defaults

Wednesday, January 22, 14

18
Content type defaults
2

1
3

Wednesday, January 22, 14

19
Submission form
• Default title field label is “Title”. Does this suit

your content type?
• Submission guideline is empty!

Wednesday, January 22, 14

20
Better editing experience
• Use meaningful field labels
• Add help text

Wednesday, January 22, 14

21
Revisions
• Default: It’s disabled.
• Enable revisions for most content types. This

helps editors greatly, especially when
collaborating.

Wednesday, January 22, 14

22
Promoted to front page?
• Default: It’s enabled.
• Disable if you don’t want content to go to

your front page and global RSS feed by
default

Wednesday, January 22, 14

23
Menu options
• Default: New content types allow new nodes

to be added to the main menu.
• Do you want users to be able to add this

particular item into your “Main menu”?

Wednesday, January 22, 14

24
Comment settings
• Though you can turn the default setting to

“closed” content admins can still “open”
them.
• Configure your content settings, threading,

number of comments, even for closed types!

Wednesday, January 22, 14

25
Body field
• Default field label is “Body”. Does that work

for your content type?
• Default allows for an editable summary.

Wednesday, January 22, 14

26
Check your designs for these pitfalls

The big problem:
Content architecture

Wednesday, January 22, 14

27
Drupal is different
• CMSs have a bias. They’re often designed

around a certain “unit” of content and that’s
what they’re optimized to create.... For most
web content management tools a unit is a
webpage, even though we’re more likely to
be making dynamic sites that use (and reuse)
content in a variety of configurations.

• Content Modelling: A Master Skill by RACHEL

LOVINGER April 24, 2012
Wednesday, January 22, 14

28
Org charts

• Content Modelling: A Master Skill by

RACHEL LOVINGER April 24, 2012
Wednesday, January 22, 14

29
Other CMSs - ouch!

https://blog.gathercontent.com/from-blobs-to-chunks-a-real-life-example
Wednesday, January 22, 14

30
The solution??
Expression engine

https://blog.gathercontent.com/from-blobs-to-chunks-a-real-life-example
Wednesday, January 22, 14

31
Drupal could do it better!

https://blog.gathercontent.com/from-blobs-to-chunks-a-real-life-example
Wednesday, January 22, 14

32
Content separate from display
• Content types with presentational markup

http://karenmcgrane.com/2013/05/23/drupalcon-keynote-video-and-talk-notes/
Wednesday, January 22, 14

33
Structured content
Compare
Title

Title

In HTML:

Image upload

Body text
Tags
Location
Media (video,
images)

Body text

Wednesday, January 22, 14

Location
Tags

34
What to display?
Title
Image

Show 2 most recent.
Image as square thumbnail.
Body text up to 100 words
Web Page Title
http://domain.com

Google

Body text
Location
Tags
Author
Date
Wednesday, January 22, 14

35
Show author and date?
Title
Image

Show 9 per page with pagination.
Image as thumbnail.
Author link to profile. Short date.
Web Page Title
http://domain.com

Google

Body text
Location
Tags
Author
Date
Wednesday, January 22, 14

36
Display options
• Limit your fields to only what you need to

reuse and display.

thumbnail

Wednesday, January 22, 14

text w/picture

list w/thumbnail

list

37
Design choices
• When to use multiple fields?
Example a.

Wednesday, January 22, 14

Example b.

Example c.

38
Design choices
• Depends on your needs
Example a.

Single
image field
Wednesday, January 22, 14

Example b.

Single
image field
multiple
values

Example c.

Two
image fields
Single values
39
Too many?
• 42 content types which could be

consolidated
• Consolidate: Content types with similar

purposes with names like “Page - front” and
“Page - products”

Wednesday, January 22, 14

40
Too few?
• 2 or 3 complex content types with many

fields and references.
• Divide: Limit fields to only necessary data

which suits the model for that type.

Wednesday, January 22, 14

41
How many is too many?
• Too many content types can be a burden on

overall performance.
• The number of fields and references within a

content type will have a significant impact on
performance.
• A large number of fields and complex forms

also increase the chance for error and harm
user experience.

Wednesday, January 22, 14

42
Prevent at design stage!
• Limit the number of content types
• Limit unnecessary complexity
• Limit unnecessary fields
• Combine similar content types
• Reuse shared fields for the same data (where

they have the same global settings)

Wednesday, January 22, 14

43
Review as you develop

Wednesday, January 22, 14

44
Field related modules

Wednesday, January 22, 14

45
Module selection - FAQ v FAQ field?

drupal.org/project/faq
Wednesday, January 22, 14

drupal.org/project/faqfield
46
Field collection
• Simplify entity references functionality
• Displayed within the content type. Can be

edited separately.
• Can pose performance problems
Pet name

select animal type
dogs
cats
goldfish
snakes

https://drupal.org/project/field_collection
Wednesday, January 22, 14

47
High performance
• https://groups.drupal.org/high-performance

Wednesday, January 22, 14

48
Pitfalls to avoid

4sitestudios.com/blog/oct-08-2013/8-pitfalls-avoidwhen-developing-content-models-drupal
Wednesday, January 22, 14

49
Final check!

Wednesday, January 22, 14

50
Real content test drive
• Test content types with real content and real

content editors. **
• You will always be surprised!
• Change order of content editing fields to

match user’s needs, even if different than
display.
• ** Warn editors this content probably will be

destroyed

Wednesday, January 22, 14

51
Permissions!
• Check permissions after you add each

content type.
• Check permissions for untrusted user roles

on all contributed modules.

Wednesday, January 22, 14

52
Pathauto patterns
• Check your path auto patterns

Wednesday, January 22, 14

53
Display configuration
• Check all view modes
• Don’t forget “Search results”

Wednesday, January 22, 14

54
Module maintenance
• Subscribe to the issue queues of any

modules you’re using on the site.
• Apply security updates on-going

Wednesday, January 22, 14

55
Tidy up!
• Delete test content.
• Delete test content types.
• Delete any content types not in use.
• “Retire” old content types (which still have

content on display) by disabling editing
permissions for content editing roles so they
don’t see that content type in their Add
content list.

Wednesday, January 22, 14

56
Next week

acquia.com/resources/webinars/preventing-drupalheadaches-permissions-and-roles-checklist
Wednesday, January 22, 14

57

Mais conteúdo relacionado

Mais procurados

Drupal content editor flexibility
Drupal content editor flexibilityDrupal content editor flexibility
Drupal content editor flexibility
hernanibf
 
Introduction to Drupal Basics
Introduction to Drupal BasicsIntroduction to Drupal Basics
Introduction to Drupal Basics
Juha Niemi
 
Drupal architectures for flexible content - Drupalcon Barcelona
Drupal architectures for flexible content - Drupalcon BarcelonaDrupal architectures for flexible content - Drupalcon Barcelona
Drupal architectures for flexible content - Drupalcon Barcelona
hernanibf
 
The WordPress University
The WordPress UniversityThe WordPress University
The WordPress University
Stephanie Leary
 

Mais procurados (20)

Drupal 8: Most common beginner mistakes
Drupal 8: Most common beginner mistakesDrupal 8: Most common beginner mistakes
Drupal 8: Most common beginner mistakes
 
Site Building Checklist DrupalCamp Ottawa
Site Building Checklist DrupalCamp OttawaSite Building Checklist DrupalCamp Ottawa
Site Building Checklist DrupalCamp Ottawa
 
Beginner's guide to drupal
Beginner's guide to drupalBeginner's guide to drupal
Beginner's guide to drupal
 
[HKDUG] #20160626 - HKOSCon 2015 - Website DIY with Drupal 8
[HKDUG] #20160626 - HKOSCon 2015 - Website DIY with Drupal 8[HKDUG] #20160626 - HKOSCon 2015 - Website DIY with Drupal 8
[HKDUG] #20160626 - HKOSCon 2015 - Website DIY with Drupal 8
 
Drupal content editor flexibility
Drupal content editor flexibilityDrupal content editor flexibility
Drupal content editor flexibility
 
Introduction to Drupal Basics
Introduction to Drupal BasicsIntroduction to Drupal Basics
Introduction to Drupal Basics
 
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
 
My Site is slow - Drupal Camp London 2013
My Site is slow - Drupal Camp London 2013My Site is slow - Drupal Camp London 2013
My Site is slow - Drupal Camp London 2013
 
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
 
Introduction to drupal
Introduction to drupalIntroduction to drupal
Introduction to drupal
 
Drupal architectures for flexible content - Drupalcon Barcelona
Drupal architectures for flexible content - Drupalcon BarcelonaDrupal architectures for flexible content - Drupalcon Barcelona
Drupal architectures for flexible content - Drupalcon Barcelona
 
Drupal
DrupalDrupal
Drupal
 
Deployer - Deployment tool for PHP
Deployer - Deployment tool for PHPDeployer - Deployment tool for PHP
Deployer - Deployment tool for PHP
 
Drupal 7x Installation - Introduction to Drupal Concepts
Drupal 7x Installation - Introduction to Drupal ConceptsDrupal 7x Installation - Introduction to Drupal Concepts
Drupal 7x Installation - Introduction to Drupal Concepts
 
Introduction to Drupal
Introduction to DrupalIntroduction to Drupal
Introduction to Drupal
 
Minimalist Theming: How to Build a Lean, Mean Drupal 8 Theme
Minimalist Theming: How to Build a Lean, Mean Drupal 8 ThemeMinimalist Theming: How to Build a Lean, Mean Drupal 8 Theme
Minimalist Theming: How to Build a Lean, Mean Drupal 8 Theme
 
Beginners Guide to Drupal
Beginners Guide to DrupalBeginners Guide to Drupal
Beginners Guide to Drupal
 
Blisstering drupal module development ppt v1.2
Blisstering drupal module development ppt v1.2Blisstering drupal module development ppt v1.2
Blisstering drupal module development ppt v1.2
 
Dipping Your Toe into Drupal 8 Module Development
Dipping Your Toe into Drupal 8 Module DevelopmentDipping Your Toe into Drupal 8 Module Development
Dipping Your Toe into Drupal 8 Module Development
 
The WordPress University
The WordPress UniversityThe WordPress University
The WordPress University
 

Semelhante a Preventing Drupal Headaches: Content Type Checklist

Drupal content editing ux
Drupal content editing uxDrupal content editing ux
Drupal content editing ux
Sergei Sorokin
 

Semelhante a Preventing Drupal Headaches: Content Type Checklist (20)

Improving drupals cex and ax
Improving drupals cex and axImproving drupals cex and ax
Improving drupals cex and ax
 
A Recipe for Flexible Editing with Drupal, Panels, Kalatheme and Panopoly
A Recipe for Flexible Editing with Drupal, Panels, Kalatheme and PanopolyA Recipe for Flexible Editing with Drupal, Panels, Kalatheme and Panopoly
A Recipe for Flexible Editing with Drupal, Panels, Kalatheme and Panopoly
 
Introduction to Drupal
Introduction to DrupalIntroduction to Drupal
Introduction to Drupal
 
Drupal Skils Lab 302Labs
Drupal Skils Lab 302Labs Drupal Skils Lab 302Labs
Drupal Skils Lab 302Labs
 
Interactive Web Design 5 - Week 2 - Introduction
Interactive Web Design 5 - Week 2 -  IntroductionInteractive Web Design 5 - Week 2 -  Introduction
Interactive Web Design 5 - Week 2 - Introduction
 
Absolute Beginners Guide to Drupal
Absolute Beginners Guide to DrupalAbsolute Beginners Guide to Drupal
Absolute Beginners Guide to Drupal
 
Developing Custom WordPress Themes for Clients
Developing Custom WordPress Themes for ClientsDeveloping Custom WordPress Themes for Clients
Developing Custom WordPress Themes for Clients
 
Ready. Set. Drupal! An Intro to Drupal 8, Part 2
Ready. Set. Drupal! An Intro to Drupal 8, Part 2Ready. Set. Drupal! An Intro to Drupal 8, Part 2
Ready. Set. Drupal! An Intro to Drupal 8, Part 2
 
Drupal 6x Installation
Drupal 6x Installation Drupal 6x Installation
Drupal 6x Installation
 
Drupal training-1-in-mumbai
Drupal training-1-in-mumbaiDrupal training-1-in-mumbai
Drupal training-1-in-mumbai
 
Drupal theming - a practical approach (European Drupal Days 2015)
Drupal theming - a practical approach (European Drupal Days 2015)Drupal theming - a practical approach (European Drupal Days 2015)
Drupal theming - a practical approach (European Drupal Days 2015)
 
Presentation Drupal Content Management Framework
Presentation Drupal Content Management FrameworkPresentation Drupal Content Management Framework
Presentation Drupal Content Management Framework
 
Drupal: an Overview
Drupal: an OverviewDrupal: an Overview
Drupal: an Overview
 
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)
 
WordPress Beginners Workshop
WordPress Beginners WorkshopWordPress Beginners Workshop
WordPress Beginners Workshop
 
OpenCms Days 2014 - Introducing the 9.5 OpenCms documentation
OpenCms Days 2014 - Introducing the 9.5 OpenCms documentationOpenCms Days 2014 - Introducing the 9.5 OpenCms documentation
OpenCms Days 2014 - Introducing the 9.5 OpenCms documentation
 
Twig in the Wild
Twig in the WildTwig in the Wild
Twig in the Wild
 
Using DRY (Don't Repeat Yourself) Principle in Drupal 8 Site Life Cycle
Using DRY (Don't Repeat Yourself) Principle in Drupal 8 Site Life CycleUsing DRY (Don't Repeat Yourself) Principle in Drupal 8 Site Life Cycle
Using DRY (Don't Repeat Yourself) Principle in Drupal 8 Site Life Cycle
 
Alice Phieu - WordPress For Beginners
Alice Phieu - WordPress For BeginnersAlice Phieu - WordPress For Beginners
Alice Phieu - WordPress For Beginners
 
Drupal content editing ux
Drupal content editing uxDrupal content editing ux
Drupal content editing ux
 

Mais de Acquia

Taking Your Multi-Site Management at Scale to the Next Level
Taking Your Multi-Site Management at Scale to the Next LevelTaking Your Multi-Site Management at Scale to the Next Level
Taking Your Multi-Site Management at Scale to the Next Level
Acquia
 

Mais de Acquia (20)

Acquia_Adcetera Webinar_Marketing Automation.pdf
Acquia_Adcetera Webinar_Marketing Automation.pdfAcquia_Adcetera Webinar_Marketing Automation.pdf
Acquia_Adcetera Webinar_Marketing Automation.pdf
 
Acquia Webinar Deck - 9_13 .pdf
Acquia Webinar Deck - 9_13 .pdfAcquia Webinar Deck - 9_13 .pdf
Acquia Webinar Deck - 9_13 .pdf
 
Taking Your Multi-Site Management at Scale to the Next Level
Taking Your Multi-Site Management at Scale to the Next LevelTaking Your Multi-Site Management at Scale to the Next Level
Taking Your Multi-Site Management at Scale to the Next Level
 
CDP for Retail Webinar with Appnovation - Q2 2022.pdf
CDP for Retail Webinar with Appnovation - Q2 2022.pdfCDP for Retail Webinar with Appnovation - Q2 2022.pdf
CDP for Retail Webinar with Appnovation - Q2 2022.pdf
 
May Partner Bootcamp 2022
May Partner Bootcamp 2022May Partner Bootcamp 2022
May Partner Bootcamp 2022
 
April Partner Bootcamp 2022
April Partner Bootcamp 2022April Partner Bootcamp 2022
April Partner Bootcamp 2022
 
How to Unify Brand Experience: A Hootsuite Story
How to Unify Brand Experience: A Hootsuite Story How to Unify Brand Experience: A Hootsuite Story
How to Unify Brand Experience: A Hootsuite Story
 
Using Personas to Guide DAM Results: How Life Time Pumped Up Their UX and CX
Using Personas to Guide DAM Results: How Life Time Pumped Up Their UX and CXUsing Personas to Guide DAM Results: How Life Time Pumped Up Their UX and CX
Using Personas to Guide DAM Results: How Life Time Pumped Up Their UX and CX
 
Improve Code Quality and Time to Market: 100% Cloud-Based Development Workflow
Improve Code Quality and Time to Market: 100% Cloud-Based Development WorkflowImprove Code Quality and Time to Market: 100% Cloud-Based Development Workflow
Improve Code Quality and Time to Market: 100% Cloud-Based Development Workflow
 
September Partner Bootcamp
September Partner BootcampSeptember Partner Bootcamp
September Partner Bootcamp
 
August partner bootcamp
August partner bootcampAugust partner bootcamp
August partner bootcamp
 
July 2021 Partner Bootcamp
July  2021 Partner BootcampJuly  2021 Partner Bootcamp
July 2021 Partner Bootcamp
 
May Partner Bootcamp
May Partner BootcampMay Partner Bootcamp
May Partner Bootcamp
 
DRUPAL 7 END OF LIFE IS NEAR - MIGRATE TO DRUPAL 9 FAST AND EASY
DRUPAL 7 END OF LIFE IS NEAR - MIGRATE TO DRUPAL 9 FAST AND EASYDRUPAL 7 END OF LIFE IS NEAR - MIGRATE TO DRUPAL 9 FAST AND EASY
DRUPAL 7 END OF LIFE IS NEAR - MIGRATE TO DRUPAL 9 FAST AND EASY
 
Work While You Sleep: The CMO’s Guide to a 24/7/365 Lead Machine
Work While You Sleep: The CMO’s Guide to a 24/7/365 Lead MachineWork While You Sleep: The CMO’s Guide to a 24/7/365 Lead Machine
Work While You Sleep: The CMO’s Guide to a 24/7/365 Lead Machine
 
Acquia webinar: Leveraging Drupal to Bury Your Sales Team In B2B Leads
Acquia webinar: Leveraging Drupal to Bury Your Sales Team In B2B LeadsAcquia webinar: Leveraging Drupal to Bury Your Sales Team In B2B Leads
Acquia webinar: Leveraging Drupal to Bury Your Sales Team In B2B Leads
 
April partner bootcamp deck cookieless future
April partner bootcamp deck  cookieless futureApril partner bootcamp deck  cookieless future
April partner bootcamp deck cookieless future
 
How to enhance cx through personalised, automated solutions
How to enhance cx through personalised, automated solutionsHow to enhance cx through personalised, automated solutions
How to enhance cx through personalised, automated solutions
 
DRUPAL MIGRATIONS AND DRUPAL 9 INNOVATION: HOW PAC-12 DELIVERED DIGITALLY FOR...
DRUPAL MIGRATIONS AND DRUPAL 9 INNOVATION: HOW PAC-12 DELIVERED DIGITALLY FOR...DRUPAL MIGRATIONS AND DRUPAL 9 INNOVATION: HOW PAC-12 DELIVERED DIGITALLY FOR...
DRUPAL MIGRATIONS AND DRUPAL 9 INNOVATION: HOW PAC-12 DELIVERED DIGITALLY FOR...
 
Customer Experience (CX): 3 Key Factors Shaping CX Redesign in 2021
Customer Experience (CX): 3 Key Factors Shaping CX Redesign in 2021Customer Experience (CX): 3 Key Factors Shaping CX Redesign in 2021
Customer Experience (CX): 3 Key Factors Shaping CX Redesign in 2021
 

Ú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
 
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
 

Último (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
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
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
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
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
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
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
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
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
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...
 
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
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
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
 

Preventing Drupal Headaches: Content Type Checklist

  • 1. Prevent Drupal Headaches! CONTENT TYPE CHECKLIST Wednesday, January 22, 14 1
  • 3. Who is this for? • Moving from another CMS • You’re planning a new Drupal site • You inherited a new Drupal site and sense there might be something wrong... Wednesday, January 22, 14 3
  • 4. In this presentation... • The basics of content types • Beware the defaults! • The big problem: Content Architecture • A final check when you’re ready to go live Wednesday, January 22, 14 4
  • 5. Not in this presentation... • Views display • File field • Image fields and WYSIWYG • Drupal 8 content modeling • Improving content administration (very important!!) Wednesday, January 22, 14 5
  • 6. Site Building Checklist • With Suzanne of Evolving Web • Site Building Checklist (slides) Wednesday, January 22, 14 6
  • 7. Future friendly content • KAREN MCGRANE - Keynote, DrupalCon portland2013.drupal.org/keynote/karen-mcgrane (24:20 mins in) Wednesday, January 22, 14 7
  • 8. Content admins are important • Slides: “Content Administrators are Users Too” Karen McGrane and Jeff Eaton slideshare.net/KMcGrane/baby-got-backendcontent-administrators-are-users-too Wednesday, January 22, 14 8
  • 10. What is a content type? A “content type” Wednesday, January 22, 14 A “node” 10
  • 11. Assembling • A typical Drupal “page” is made up of assembling components from content types, fields, blocks, views, panels, etc! thumbnail Wednesday, January 22, 14 text w/picture list w/thumbnail list 11
  • 12. Content types Article Instruction manual Tips Content title Content title Content title This is a guide. The best place to start is here. Then you can go there and further. Article content. A small river named Duden flows by their place and supplies it with the necessary regelialia. tags tags Wednesday, January 22, 14 Download This is a file download Tips content. This is a great way to use your new product. tags 12
  • 13. About content types • Content types have basic settings. Generic content type Title • Simple version Author control (revisions). Date published • Adding fields extends and customized the content type Comments? Menu option? News article Generic plus: Generic plus: Date of event Lead image Topic Wednesday, January 22, 14 Event Topic 13
  • 14. Content types are not... • Content types are not page templates! • Other CMSs workflow is “container first”. • Define site map... • Create page templates... • In Drupal: Panels, Page manager, etc. can be used. Wednesday, January 22, 14 14
  • 15. Quick demo! • Super fast demo filepaths.localhost:8082/admin/structure/types Wednesday, January 22, 14 15
  • 16. Typical Drupal workflow Drupal workflow just for content modelling 1. Add the content type 2. Configure default settings 3. Add fields 4. Manage display 5. Set permissions 6. Test adding content Wednesday, January 22, 14 16
  • 17. What actually happens? Drupal workflow just for content modelling 1. Add the content type 2. Configure default settings 3. Add fields 4. Manage display 5. Set permissions 6. Test adding content Wednesday, January 22, 14 17
  • 18. A quick checklist Beware the defaults Wednesday, January 22, 14 18
  • 20. Submission form • Default title field label is “Title”. Does this suit your content type? • Submission guideline is empty! Wednesday, January 22, 14 20
  • 21. Better editing experience • Use meaningful field labels • Add help text Wednesday, January 22, 14 21
  • 22. Revisions • Default: It’s disabled. • Enable revisions for most content types. This helps editors greatly, especially when collaborating. Wednesday, January 22, 14 22
  • 23. Promoted to front page? • Default: It’s enabled. • Disable if you don’t want content to go to your front page and global RSS feed by default Wednesday, January 22, 14 23
  • 24. Menu options • Default: New content types allow new nodes to be added to the main menu. • Do you want users to be able to add this particular item into your “Main menu”? Wednesday, January 22, 14 24
  • 25. Comment settings • Though you can turn the default setting to “closed” content admins can still “open” them. • Configure your content settings, threading, number of comments, even for closed types! Wednesday, January 22, 14 25
  • 26. Body field • Default field label is “Body”. Does that work for your content type? • Default allows for an editable summary. Wednesday, January 22, 14 26
  • 27. Check your designs for these pitfalls The big problem: Content architecture Wednesday, January 22, 14 27
  • 28. Drupal is different • CMSs have a bias. They’re often designed around a certain “unit” of content and that’s what they’re optimized to create.... For most web content management tools a unit is a webpage, even though we’re more likely to be making dynamic sites that use (and reuse) content in a variety of configurations. • Content Modelling: A Master Skill by RACHEL LOVINGER April 24, 2012 Wednesday, January 22, 14 28
  • 29. Org charts • Content Modelling: A Master Skill by RACHEL LOVINGER April 24, 2012 Wednesday, January 22, 14 29
  • 30. Other CMSs - ouch! https://blog.gathercontent.com/from-blobs-to-chunks-a-real-life-example Wednesday, January 22, 14 30
  • 32. Drupal could do it better! https://blog.gathercontent.com/from-blobs-to-chunks-a-real-life-example Wednesday, January 22, 14 32
  • 33. Content separate from display • Content types with presentational markup http://karenmcgrane.com/2013/05/23/drupalcon-keynote-video-and-talk-notes/ Wednesday, January 22, 14 33
  • 34. Structured content Compare Title Title In HTML: Image upload Body text Tags Location Media (video, images) Body text Wednesday, January 22, 14 Location Tags 34
  • 35. What to display? Title Image Show 2 most recent. Image as square thumbnail. Body text up to 100 words Web Page Title http://domain.com Google Body text Location Tags Author Date Wednesday, January 22, 14 35
  • 36. Show author and date? Title Image Show 9 per page with pagination. Image as thumbnail. Author link to profile. Short date. Web Page Title http://domain.com Google Body text Location Tags Author Date Wednesday, January 22, 14 36
  • 37. Display options • Limit your fields to only what you need to reuse and display. thumbnail Wednesday, January 22, 14 text w/picture list w/thumbnail list 37
  • 38. Design choices • When to use multiple fields? Example a. Wednesday, January 22, 14 Example b. Example c. 38
  • 39. Design choices • Depends on your needs Example a. Single image field Wednesday, January 22, 14 Example b. Single image field multiple values Example c. Two image fields Single values 39
  • 40. Too many? • 42 content types which could be consolidated • Consolidate: Content types with similar purposes with names like “Page - front” and “Page - products” Wednesday, January 22, 14 40
  • 41. Too few? • 2 or 3 complex content types with many fields and references. • Divide: Limit fields to only necessary data which suits the model for that type. Wednesday, January 22, 14 41
  • 42. How many is too many? • Too many content types can be a burden on overall performance. • The number of fields and references within a content type will have a significant impact on performance. • A large number of fields and complex forms also increase the chance for error and harm user experience. Wednesday, January 22, 14 42
  • 43. Prevent at design stage! • Limit the number of content types • Limit unnecessary complexity • Limit unnecessary fields • Combine similar content types • Reuse shared fields for the same data (where they have the same global settings) Wednesday, January 22, 14 43
  • 44. Review as you develop Wednesday, January 22, 14 44
  • 45. Field related modules Wednesday, January 22, 14 45
  • 46. Module selection - FAQ v FAQ field? drupal.org/project/faq Wednesday, January 22, 14 drupal.org/project/faqfield 46
  • 47. Field collection • Simplify entity references functionality • Displayed within the content type. Can be edited separately. • Can pose performance problems Pet name select animal type dogs cats goldfish snakes https://drupal.org/project/field_collection Wednesday, January 22, 14 47
  • 51. Real content test drive • Test content types with real content and real content editors. ** • You will always be surprised! • Change order of content editing fields to match user’s needs, even if different than display. • ** Warn editors this content probably will be destroyed Wednesday, January 22, 14 51
  • 52. Permissions! • Check permissions after you add each content type. • Check permissions for untrusted user roles on all contributed modules. Wednesday, January 22, 14 52
  • 53. Pathauto patterns • Check your path auto patterns Wednesday, January 22, 14 53
  • 54. Display configuration • Check all view modes • Don’t forget “Search results” Wednesday, January 22, 14 54
  • 55. Module maintenance • Subscribe to the issue queues of any modules you’re using on the site. • Apply security updates on-going Wednesday, January 22, 14 55
  • 56. Tidy up! • Delete test content. • Delete test content types. • Delete any content types not in use. • “Retire” old content types (which still have content on display) by disabling editing permissions for content editing roles so they don’t see that content type in their Add content list. Wednesday, January 22, 14 56