This document discusses various options for creating landing pages in Drupal 8, including paragraphs, Entity Construction Kit (ECK), Display Suite, Field Layout, Panels, and others. Paragraphs allow for structured content chunks that can be reordered and come in types like accordions and galleries. ECK provides reusable entity types for content. Display Suite extends display options and offers custom layouts. Field Layout adds layout capabilities to the field UI in Drupal core. Panels is a powerful but complex system for custom layouts using blocks or fields. Planning and a focus on customer needs are emphasized when choosing an approach.
4. What is a Landing page?
• Particular target audience
• Emphasized Call to Actions
• Custom layout and complex internal
structure
• Personalized blocks
14. Paragraphs
• Structured "chunks of content"
• Allows content editors to choose from
pre-defined list of paragraph types
• Content editor can reorder paragraphs
• Examples: Accordion, Tabs, Galleries,
Slideshow, Simple text
https://www.drupal.org/project/paragraphs
Use case examples:
• Add a block of text with an image left to it
• Add an accordion between blocks of text
32. Display Suite
GOOD
• Familiar UI
• Custom layouts
• Block fields out of the box
• Full page view mode switch
BAD
• Single layout for all entities of
the same type and display
• Difficult to extend
34. Field layout
• Adds layout capabilities to the Field UI
• Drupal core (from 8.5)
• Experimental
• Similar to Display Suite
35.
36.
37. Field layout
GOOD
• in Drupal core
• Familiar UI
• Custom layouts
BAD
• Experimental
• Single layout for all entities of
the same type and display
• Difficult to extend
39. Panels
• Panels is an API in Drupal 8
• Currently, Page Manager and
Panelizer implement panels
• Permissions
• Variants
• System of "context”
• In place editor
https://www.drupal.org/project/panels
41. Panels / Layout Builder
GOOD
• Powerful
• More simplified comparing to
Drupal 7 version of Panels
BAD
• Learning curve
• Currently only supports
adding blocks
• Developer’s tool