Working with sections and blocks
When working on a layout, including a layout for a page type, you use sections and blocks to create suitable containers for the content.
Regarding page types, you work the same way with local page types and tenant page types. For the very first steps when creating a new page type, see: Create new page type
In this description, we use a page type as an example. You work the same way with other layouts. Images in this description from Omnia 7.9.
The first steps
You can really work the way you want, you don’t need a section to add a block, for example, but common steps will probably be:
Click the plus to add a layout with one or more columns.
select the base layout (image below using the new option Block gallery in Omnia 7.9).
Add a suitable section in a column.
Just to be clear, you can add such a section directly to the page as well, if needed.
The following are the type of sections you can use. All sections can be added to the page or to another section.
Section with columns: Used primarily for the base layout, to add other sections or blocks for the content.
Section with tabs: Useful for many types of layout where content are added to different tabs.
Accordion section: Useful for a layout or content organized with labels or headings that can be expanded to display the full content.
Stepper section: Useful when organizing information in steps. It’s also used with the forms functionality. It is possible to configure the stepper to allow for an author to add new steps in Write mode.
Reusable section: Available in Omnia 7.11 and later. This type of section can be a part of reusable content on a page.
Here’s an example where a stepper section is used:
For a description of available settings for a section, see: Settings for sections
Decide to show a section on a device or not
When you’re working on a section you can select if it should be shown, or not, on different devices.
Click this icon:
You can now use the following settings:
To hide a section for a device, do the following:
Select the device.
Click LAYOUT.
Click the pen for “Visibility”.
Select “Hide section”.
To add some padding for the section, for a specific device, do the following:
Select the device.
Click LAYOUT.
Click the pen for “Section padding”.
Set the padding.
Delete a section
If you need to delete a section, here’s how to do it:
Click in the section (not on any plus).
Click the dust bin for the section.
Click OK to delete the section.
Move a section
Do the following to move a section to another place on the page.
Click the section.
Click the Move icon.
Icons now show where you can move the section, for example:
Click the icon where you want the section and it’s moved there.
Copy a section
If you need a section with roughly the same settings somewhere else on the page, you can copy a section and place the copy where you want it, and then edit the settings. Do the following:
Click the section.
Click the Copy icon.
Icons now show where you can add the new section, the same way as when you move a section (see above).
Click the icon where you want the copied section and it’s placed there.
Edit the settings that you want to change for the copy, and save.
Copy a section from the clipboard
There’s also a clipboard available, that can be used to copy sections between pages or page types, see this page for more information: Clipboard for sections and blocks
Adding blocks to a section
Here’s how to add a block to a section:
Click the plus for the section.
Select block to add. All blocks are listed after “Blocks”.
There’s many, many blocks you can use. You add additional blocks, work with the settings, move or delete blocks the same way as editors do when editing a page, see: Working with blocks
Note! When editing a page, blocks that belong to the page type may be locked, meaning they can not be moved or deleted, and settings for those blocks can’t be edited. But content can be edited, if applicable, using Write mode. For more information on this, see Lock a block or not, below.
In Omnia 7.9 and later, there can be section or block templates available, that you can use. A template is a section or a block with a number of pre defined settings.
If any are available, you can find them under a separate heading, for example:
Copy a block from the clipboard
There’s also a clipboard available, that can be used to copy blocks between pages or page types, see: Clipboard for sections and blocks
Lock a block or not
Additional settings for locking of blocks are available, under “Lock” in the LAYOUT menu for a block:
You can decide if it should be possible to unlock the settings for a block. The block can still not be moved and can not be deleted.
The following options are available here:
Locked by default: If this option is selected, and not the following, it works as before; settings for the block can not be changed but content can be edited using Write mode. If this option is NOT selected and the next is, the block’s settings are simply not locked. Design permission is still needed to be able to change settings.
Lock can be edited: If this option is selected, editors (Design permission) can unlock or lock the settings for the block - and if unlocked, can edit the block’s settings.