oliverdavies.uk/content/node.0e2dc3d6-4054-495b-9c8c-bad2475a0c13.yml

96 lines
5 KiB
YAML

uuid:
- value: 0e2dc3d6-4054-495b-9c8c-bad2475a0c13
langcode:
- value: en
type:
- target_id: daily_email
target_type: node_type
target_uuid: 8bde1f2f-eef9-4f2d-ae9c-96921f8193d7
revision_timestamp:
- value: '2025-05-11T09:00:02+00:00'
revision_uid:
- target_type: user
target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849
revision_log: { }
status:
- value: true
uid:
- target_type: user
target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849
title:
- value: "Why I like Drupal's Layout Builder"
created:
- value: '2025-01-26T00:00:00+00:00'
changed:
- value: '2025-05-11T09:00:02+00:00'
promote:
- value: false
sticky:
- value: false
default_langcode:
- value: true
revision_translation_affected:
- value: true
path:
- alias: /daily/2025/01/26/layout-builder
langcode: en
body:
- value: |
<p>I've built Drupal websites for 18 years and have worked with versions as old as Drupal 5.</p>
<p>A common issue for people using the CMS has been the editorial experience when adding and editing content.</p>
<p>Once logged in, to add or edit a node, they need to go to a separate administration screen to enter or change the content.</p>
<p>The administration page usually looks nothing like what the page will look like once published, with the user only seeing large forms and different styles, or a different theme altogether.</p>
<p>There is a page preview option, but this only works once the forms have been completed and requires the user to be able to "see" how the page will look beforehand and know what content will appear where.</p>
<p>This has become trickier with the use of Paragraphs and entity reference fields, where the editor only sees the title of the content they want to reference but not what they will see or how it will look.</p>
<p>As well as being difficult to create content, it also makes it difficult to edit it.</p>
<h2 id="layout-builder">Layout Builder</h2>
<p>This is why I like Drupal's Layout Builder module.</p>
<p>Originally released as a contributed module, it has been part of Drupal core since 8.7 and allows editors to be able to create complex pages using a drag and drop interface and instantly see how they look.</p>
<p>There's now an ecosystem of Layout Builder-related modules, <a href="https://www.drupal.org/project/layout_builder_extra_templates">including one I wrote</a>, that add more functionality to the Layout Builder, such as adding more template suggestions, restricting the available blocks, or adding inline styles - making it even more powerful.</p>
<p>If you have a Drupal site and haven't tried Layout Builder, you can incrementally opt in and only enable it for certain content types. You don't need to go all in straight away.</p>
<p>But, I think that once you've tried it, you won't be able to go back.</p>
format: full_html
processed: |
<p>I've built Drupal websites for 18 years and have worked with versions as old as Drupal 5.</p>
<p>A common issue for people using the CMS has been the editorial experience when adding and editing content.</p>
<p>Once logged in, to add or edit a node, they need to go to a separate administration screen to enter or change the content.</p>
<p>The administration page usually looks nothing like what the page will look like once published, with the user only seeing large forms and different styles, or a different theme altogether.</p>
<p>There is a page preview option, but this only works once the forms have been completed and requires the user to be able to "see" how the page will look beforehand and know what content will appear where.</p>
<p>This has become trickier with the use of Paragraphs and entity reference fields, where the editor only sees the title of the content they want to reference but not what they will see or how it will look.</p>
<p>As well as being difficult to create content, it also makes it difficult to edit it.</p>
<h2 id="layout-builder">Layout Builder</h2>
<p>This is why I like Drupal's Layout Builder module.</p>
<p>Originally released as a contributed module, it has been part of Drupal core since 8.7 and allows editors to be able to create complex pages using a drag and drop interface and instantly see how they look.</p>
<p>There's now an ecosystem of Layout Builder-related modules, <a href="https://www.drupal.org/project/layout_builder_extra_templates">including one I wrote</a>, that add more functionality to the Layout Builder, such as adding more template suggestions, restricting the available blocks, or adding inline styles - making it even more powerful.</p>
<p>If you have a Drupal site and haven't tried Layout Builder, you can incrementally opt in and only enable it for certain content types. You don't need to go all in straight away.</p>
<p>But, I think that once you've tried it, you won't be able to go back.</p>
summary: null
field_daily_email_cta: { }