- concrete5 Cookbook
- David Strack
- 145字
- 2021-08-13 16:16:00
Introduction
Blocks in concrete5 are small, modular pieces of visual presentation, which can add virtually any type of content to your website. Blocks can contain text content, HTML code, images, videos, an interactive map, or anything else you could think of. When you edit content on your concrete5 website, you are editing an instance of the content block type. Blocks get added to pages in special areas that get specified in theme layouts. concrete5 comes with a wide variety of different block types out of the box, and it is easy to create your own custom block types, enabling you to add unlimited potential to your website.
In this chapter, we will create a custom block type from scratch. This block type will just display some text that the user can edit through the CMS interface, and will serve as a basic "Hello World" example.