1. Blocks
  2. Info Block

Blocks

Info Block

The Info Block is a highly versatile block that allows you to display any HTML content. You can use substitution and helpers to display dynamic content.

Basic Usage

This example block is added to the stub layout via the layout editor and is only visible to stubber authenticated users.

{
info_block
:
{
blocktype
:
infoblock
params
:
{
html
:
<h1>Hello World!</h1>

The above example produces the following block:

Collapsed

The Info block can be configured to be collapsed by default by setting the collapsed parameter.

{
info_block
:
{
blocktype
:
blocktype
params
:
{
collapsed
:
true