Building pages with blocks

Editing content
Applies to: every Sulu website As of Sulu 3.0

In short

In the Blocks area you add a block with Add block and choose its type in the field at the top left. Using the handle you drag blocks into a different order. With Select multiple blocks you copy, duplicate, cut or delete several at once.

A block is a building block with its own purpose: a text, an image with text, a price list, a form. You put a page together from such building blocks.

Whether a page has blocks, and which ones, is set by its template. In a Sulu without extensions the template Default has no blocks, only the text field Article. The images show the blocks of the example website.

Helpful first: 1.4 A page from the inside 2.1 Changing text on a page

Step 1 of 4 The blocks of a page

Open a page and scroll to the Blocks area. Each block is a row with the title, an excerpt of the content and the type of the block on the right (2), in the example Images/Videos.

The handle (1) for moving sits on the left edge. Above the list are Select multiple blocks (3) and Expand all blocks (4). With Add block (5) a new block is added at the end.

Step 2 of 4 Adding a block and choosing its type

Click Add block. A new, expanded block of the type Text appears at the bottom. You change the type in the selection field at the top left of the block.

Which types exist is set by the template. On the example website they include: Text, Images/Videos, Text with sections (1), Collapsible content, Boxes, Collection (2), Logo wall, Numbers, Process / timeline, Prices & packages, Image comparison before/after, Contact details, Personal greeting, Map (3), Form and Audio & video.

Step 3 of 4 Changing the order

Take the block by its handle and drag it up or down with the mouse button held down. Let go at the new position.

In the example Prices at a glance (1) is now first. The preview on the right (2) shows the new order straight away. It is only kept once you save.

Step 4 of 4 Editing several blocks together

Click Select multiple blocks. A checkbox (1) appears in front of each block. Check the blocks you want, or select all of them with Select all (2).

The icons at the top (3) are called Copy, Duplicate, Cut and Delete. With Cancel you leave the mode without changing anything.

Preview first

You see every change to the blocks straight away in the preview, but visitors only see it after publishing. More: Draft, preview, publish.