In-page alert

Use the in-page alert component to display contextual notifications within page content, with options for warning, success, info, and critical alert types.

Add the component to your page

When you are editing your page using page-builder:

  1. Add a component to your page by clicking the widgets Add component button or by adding a content block (by clicking the add_circle button) then clicking the add component button.

  2. Locate the in-page alert Squiz core component within the component browser and then click the Select button.

    in page alert component select

  3. This will add the in-page alert component to your page.

Configure the in-page alert component

in page alert fields

  1. Enter the alert’s content to display.

  2. Choose the type of link that your alert will link to. You have a choice of a Matrix asset or a user-defined link.

  3. Depending on what link type you select you will see one or two fields to specify your link.

    Call-to-action button - Matrix asset

    This is displayed for Matrix asset picker links and allows you to choose the CMS page to which your card links.

    Call-to-action button - Text

    This is displayed for user-specified links and defines the link text.

    Call-to-action button - URL

    This is displayed for user-specified links and defines the link URL.

  4. This controls how the link is opened when you click it. For example, open in a new page.

  5. Sets the type of alert to display.