Craft CMS 5.8: Efficiency and Structure in the Backend

The update to version 5.8 introduces targeted improvements for working with field layouts and managing content. The focus is on an optimized overview and faster workflows within the Control Panel.

New Possibilities with Content Block Fields

With the new “Content Block” field type, you can define nested field layouts that can be reused in the layouts of other element types. This enables a modular structure for field layouts, a clean separation of complex data areas, and consistent layouts across different element types.

Source: https://craftcms.com


Generated Fields

Also new are so-called “Generated Fields.” Using Twig templates, additional field values can be defined for elements, which can then be retrieved from templates or GraphQL queries just like regular custom field values. This is particularly useful for calculated or aggregated data that is not intended to be maintained directly in the CMS.


Clarity in the Element Indexes

Headings within the source selection of the element indexes can now be collapsed. This ensures a cleaner sidebar, especially in installations with many sources.

Source: https://craftcms.com


Optimizations for Matrix Fields

Matrix fields now include several features for handling large numbers of blocks. Entry types can be organized into groups within matrix fields. In “Inline-editable blocks” mode, new actions are available to expand or collapse all blocks simultaneously. If a matrix field contains five or more entry types, a search field automatically appears in the block creation menu.

Source: https://craftcms.com

Source: https://craftcms.com


Direct Search and Creation in Relational Fields

If a relational field is limited to a single source, the selection can now be made directly via an inline search field without opening the usual selection modal. Entry fields that refer to a single section and have no restrictive criteria also support the direct creation of new entries within the field.

Source: https://craftcms.com

Source: https://craftcms.com


Conclusion

Craft 5.8 provides useful tools for everyday editorial work. The new content block fields, generated fields, and the refined search and organization functions in matrix and relation fields make managing complex web projects faster and more streamlined.