Understanding blocks

What is a block?

A block is a reusable, self-contained piece of content that you can create, configure, and add to pages site-wide or in limited, specific locations. 

The reason blocks can be reused in many places unlike some of the other objects you might add to pages, like images or files, is that a block has been created as an entity. Drupal defines entities as "an object that has a unique and separate existence." In this case, blocks are unique and separate unto themselves, much like your content types (article, basic page, etc) and can be referenced at will throughout your site.

Where do you find blocks?

The blocks available to you can be found from the admin panel, either through your shortcut called Blocks or through Structure > Block layout. This is the main page block layout page, and from that section you'll be able to work with system blocks already included in SiteFarm or create your own custom blocks using the pre-programmed and styled offerings designed by the SiteFarm team, but containing your own content and images.

Read more about creating your own custom blocks.

Where can you put your blocks?

Each block will contain options that allow you to specific placement is defined by and limited to the master layout's Block Regions, which are based on the design of the SiteFarm theme template. 

Read more about block regions.

How do you attach your blocks?

You will attach your blocks in your preferred location in a couple of different ways; either the in-screen Place block method, which reveals the block regions on the page, or through Block Layout page. Each block you create can be configured and designed, then assigned to a region. You can also define which pages will display your block. The block can also be assigned to more than one region.

Read more about attaching blocks to your layout and understanding block visibility (the process of determining what pages will display your block).