The information on this page relates to beta testing within the DXP

This documentation includes information for selected beta testers within the DXP. DO NOT use this unless you have been instructed to do so.

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 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 content to display.

  2. This specifies if you are linking to another page in the CMS or an external, user-specified link. Depending on what link type you select you will see a combination of the following fields.

    Link type

    Choose between linking to a Matrix asset, or a user-defined link.

    Matrix asset

    Displayed for Matrix asset picker links. It allows you to choose the CMS page that your feature links to.

    Open link

    Controls how the link is opened when you click on the link.

    Text

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

    URL

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

  3. Sets the type of alert to display.

  4. (Optional) This allows you to add a unique ID into the HTML markup to the instance of the component so that you can add custom styling and functionality using CSS and javascript respectively.

  5. (Optional) This allows you to add a class into the HTML markup to the instance of the component so that you can add custom styling and functionality using CSS and javascript respectively.