Jody Hamilton, Co-founder and CTO of Zivtech, and Steve Persch, Lead Developer Advocate at Pantheon, are here to bust the myths around Drupal 8. They’ll walk through approaches to site building and demonstrate that projects can be turned around quickly with Drupal 8.
4. What We’ll Cover
● Building the IA components
● Admin Experience
● Building Content Editing
Experience
● Displaying your Content
● View Modes and Field
Formatters
● Twig
● Views
● Developer Workflow
4
6. Menus
Use blocks to position your
menus sitewide
● Core menu blocks have
depth and visibility level
settings
● Contrib ‘Menu Block’
module has more options
6
7. Pantheon.io 7
Path Patterns for the URL-oriented
● Pathauto is still in Contrib
● Set paths to match menu structure:
○ Page Content Type: [node:menu-link:parent:url:path]/[node:title]
○ Place other content types below their main listing page, e.g. if your
Team listing page is /about/team, set Team Member Content Type
pattern to about/team/[node:title]
8. Breadcrumbs
No More Tears
D8 Breadcrumbs follow Path
Structure (not Menu Tree)
Easy Breadcrumb Contrib module provides
additional display options
8
11. Pantheon.io 11
Managing User Roles & Permissions
● You still need Role Delegation
or RoleAssign Contrib module
to allow editors to create
editor accounts
● Advocate for fewer roles to
start
● Test editor experience using
editor role
13. Pantheon.io 13
CKEditor in Drupal
- No WYSIWYG Configuration
Required!
- Images with Captions!
- Enhance with:
- Linkit
- CKEditor Media Embed
- Custom Styles
14. Pantheon.io 14
Field Types
- Boolean
- Date (and date range)
- Email
- Phone
- Link
- Numbers (integer, decimal, float, list)
- Text (long/short, formatted/plain, list)
- Entity References (content, term, user,
file, image, etc.)
15. Pantheon.io
Manage Form Displays
- Disable fields from displaying on
forms
- Add more form (and view) display
modes at Admin: Structure: Display
Modes
- Field Group Contrib Module is stable
15
16. Pantheon.io 16
Field Widgets
Common Widget Choices:
- Lists: checkboxes/radios
or select?
- References: select,
checkboxes/radios, or
autocomplete?
17. Pantheon.io 17
Paragraphs: Flexible Landing Pages
- Avoid Panels ecosystem for
your D8 site for now
- Paragraphs works well with
component-based design
- Paragraphs ecosystem is
growing:
- Bootstrap Paragraphs
- Parade
18. Pantheon.io 18
Media: We’re Getting There
- Media in 8.5 is half-baked
- Media is included via
entityreference
- Enhance with:
- Inline Entity Form
- Entity Browser
- Stick with generic Image
and File fields if you can
for now
20. Strategies for
Customizing Display
1. Very specific CSS for default
Drupal markup
2. Template overrides for
exacting markup
3. Custom plugins for site
building and exact markup
20