Agency and banner alerts


Read time: 6 minutes

There are two types of alerts you can add to your agency site:

  • Agency alert: displays at the very top of every page on your site in a bright yellow banner.
  • Banner alert: displays within the page body as a component in a light yellow box. It appears only on the specific page where you add it.

Agency alert (site-wide header alert)

The agency alert appears at the top of every page on your agency’s site. It does not display on any other agency sites.

Example of a global alert.

NOTE: This alert is activated only for your specific agency site and will not appear on any other agency sites. It only shows on your agency pages.

How to edit the agency alert:

  1. In Sitcore, open Content Editor.
  2. In the content tree, go to:
    Content → [Your Agency Site] → Content modules → Site Header Folder → Site Header

    Agency alert content editor.

  3. Select the Agency Alert section.
  4. Update the fields:
    • Enable Agency Alert: Check this box to display the alert.
    • Agency Alert Icon: Choose an icon and browse to its location in the Media Library.
    • Alert Title: Enter the alert title.
    • Agency Description: Select 'Show editor' to add the alert message and any hyperlinks in the Rich Text Editor (RTE).
  5. Click Save.
  6. Publish the changes:
  • First, Publish to Preview to confirm the text, link, and icon.
  • Once everything looks correct, Publish to the live site.

Visit the site to confirm that the alert displays correctly.

 

Banner alert (page‑specific alert)

A banner alert appears in the main body of a single page. It does not display across the entire site.

Screenshot of banner alert sample

How to set up a banner alert

Phase 1: Content Editor

  1. In Content Editor, right‑click the page’s _resource folder. Screenshot of Insert and Update Banner Folder selections
  2. Select Insert → Update Banner Folder and name it clearly (for example, Update Banner Folder).
  3. Right‑click the new folder and select Insert → Update Banner. Screenshot with red arrows pointing to Insert and Update banner selectionsName the item (for example, Update Banner).
  4. In the Content fields, update the following:
  • Title — enter the alert title.
  • Description — select Show editor to add the alert message and any hyperlinks in the Rich Text Editor (RTE).
  • Icon — choose an alert icon by browsing to its location in the Media Library.

Click Save.

5. Publish the Update folder.

Now that your content is created and saved in the Content Editor, you’re ready to place it on the page using the Experience Editor.

Phase 2: Experience Editor

  1. From Content Editor: right-click the page > Experience Editor Screenshot of Content tree child page and Experience Editor selected
  2. Once the Experience Editor page opens, click on the empty placeholder box on your page where you want to add a container to place the banner component. NOTE: click the component icon to locate the Add here button, if necessary. Screenshot of component icon in the ribbon
  3. Click Add here.Screenshot showing add here button on the full width sublayout container
  4. In the pop-up, click Containers > Full-Width Sub layout > Select. Screenshot of Container tab, full width sublayout and Select button selections noted
  5. Click the center of the Full-Width Sub-layout; when the “Add here” prompt appears, select it. Screenshot showing add here button on the full width sublayout container
  6. In the pop-up, click the Banners tab, then Update Banner, then Select. Screenshot of Banner rendering tab and update banner button to select
  7. Expand the Update Banner Folder, then select Update Banner, then OK. Screenshot of associated content dialogue box with Update Banner Folder expanded and Update Banner selected
  8. Click the Save icon in the upper left.
  9. Publish to Preview to confirm the text, link, and icon. Once everything looks correct, Publish to the live site.

 

 

Content Editor