Загрузка...

Using Blocks in Drupal Canvas: Layouts, Views, and Custom Blocks

Join our free live stream to learn how blocks work in Drupal Canvas and how to use them to build flexible, component-driven layouts.

We'll cover:

- How Canvas replaces traditional block regions with a layout-first approach.

- Adding and placing blocks within Canvas layouts.

- Creating blocks from Views output.

- Building custom blocks for reusable content.

- Using Block Entity to embed entities as blocks within your layouts.

Perfect for Drupal site builders and developers who are exploring Canvas and want to understand where blocks fit in a modern Drupal theming workflow.

# Modules

- https://www.drupal.org/project/entity_block

# Chapters

00:00 Preshow

## Intro
05:53 Intro to Drupal Canvas and blocks
07:14 Drupal CMS with byte site template

## Theme Regions and Canvas
08:19 Regions and blocks in standard themes
10:54 Uncheck header/footer regions
12:37 Manage regions from Canvas UI

## Editing Regions in Canvas
13:32 Canvas UI overview
14:35 Edit header region and add component

## Blocks as Canvas Components
17:29 Blocks as canvas components
21:16 Appearance components page
22:39 Limitation: no visibility settings

## Views as Blocks
23:47 Create latest blog view
27:40 Add view block to canvas page
29:22 Create blog listing canvas page

## Content Templates
31:35 Templates as new manage display
32:53 Map fields to component props

## Views with Contextual Filters
35:01 Create blog details view with contextual filter
38:58 Drop view into content template

## Entity Blocks Module
40:13 Install and use Entity Blocks
42:11 Reference content as cards on full content

## Custom Blocks in Code
45:47 Generate custom module and basic block
49:45 Add custom block to canvas page

## Configurable Custom Block
52:07 Generate configurable block
53:49 Bug: strict validation error
57:17 Demo editing block content inline

## Summary
58:18 Recap
59:44 Ending

1:00:11 Postshow

#drupal #drupalcanvas #drupalcms

Видео Using Blocks in Drupal Canvas: Layouts, Views, and Custom Blocks канала WebWash
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять