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:
-
Add a component to your page by clicking the
Add component button or by adding a content block (by clicking the button) then clicking the add component button. -
Locate the in-page alert Squiz core component within the component browser and then click the Select button.
-
This will add the in-page alert component to your page.
Configure the in-page alert component
-
Enter the alert’s content to display.
-
Choose the type of link that your alert will link to. You have a choice of a Matrix asset or a user-defined link.
-
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.
-
This controls how the link is opened when you click it. For example, open in a new page.
-
Sets the type of alert to display.