Layout Builder is a tool that is used to change the layout of a page and / or rearrange the default content blocks. It can also be used to add new content blocks to a page. There are three types of content blocks that can be added:
- Custom Block
- This can be either a new text box or a new Folwell Component.
- Content Fields
- Any of the default fields in the content type. For example, if the Portrait Image was removed, it could be re-added to the page.
- Drupal Lite - Lists (Views)
- These would be lists of published content. For example, a list of all biography pages, or a list of all news items with a certain tag.
Add a new content block to a page
- Select Content in the administration menu at the top of the page. All content is displayed in a table.
- Select the Title of the page to edit. The page is displayed.
- Select the Layout button at the top of the page. The Layout Builder is displayed.
- Select + Add Block in any of the blue regions. The add block palette is displayed.
- Select one of the content blocks and follow the prompts to add it.
- Select Save Layout at the top of the Layout Builder area.
Types of Content Blocks
Create Custom Block
There are two options:
- Basic Block
- Enter a Title and Body.
- Uncheck the Display Title option if you don't want it displayed on the page.
- Select Add Block
- Enter a Title and Body.
- Folwell Component
- Enter a Title
- Uncheck the Display Title option if you don't want it displayed on the page
- Use the dropdown selector to choose the type of Folwell Component. Learn more about the Folwell Components.
- The palette will expand and the options for the component are displayed. Enter the necessary information.
- Select Add Block
- Enter a Title
Content Fields
The content fields section lists all of the default fields for the content type.
Drupal Lite - Lists (Views)
These are lists of content.
- List of Biographies.
- This will create a list of all published Biography pages. The list will be sorted ascending by the last name field.
- For each item, the Name and Profile Picture will be displayed. The name will be a link to the full biography page
- List of General Pages.
- This will create a list of all of the published General Pages. The list will be sorted ascending by the published date.
- For each item, the Page Title and Body will be displayed. The page title will be a link to the full general page.
- List of News/Blogs
- This will create a list of all of the published News/Blog pages. The list will be sorted descending by the published date.
- For each item, the Title, Published Date, and Lede will be displayed. The Title will be a link to the full news/blog page.
- Related Biographies
- This will create a filtered list of published Biography pages.
- The tag(s) used to filter the content are in the Tags for Filtered Views field on the Edit page. Any tags entered in the Tags for Filtered Views will be used in creating the list of related biographies.
- Related News/Blogs
- This will create a filtered list of published News/Blog pages.
- The tag(s) used to filter the content are in the Tags for Filtered Views field on the Edit page. Any tags entered in the Tags for Filtered Views will be used in creating the list of related news/blogs.