Documentation Center

Modifying notification bars

You can include a notification bar in the Header page to notify the user about something. The notification bar is an overlay on the Web site that appears on every Page.

About this task

A Cookie notification and an Old Browser notification are available by default. The Cookie notification always appears, and the Old Browser notification will only appear when the browser version is earlier than Internet Explorer 8.

When the visitor clicks Continue on a notification bar, a cookie is set and the bar is not displayed again for the duration of the browser session.

Procedure

  1. Update the notification bars:
    1. In Content Explorer, go to the _Structure content Folder to edit the Cookie and Old Browser notification bars. Alternatively, you can edit the Cookie notification bar in Experience Manager but not the Old Browser notification because Experience Manager is not supported on Internet Explorer 7 (or below) and so will never be displayed.
    2. Republish the Header page when you make changes.
  2. Remove the Cookie and/or Old Browser notification bars:
    1. In Experience Manager, open the Header Page (located in Content Explorer in the Home\_System\include Folder).
    2. In the Component Presentations tab, remove these Component Presentations.
    3. Republish the Page.
  3. Create a new notification bar:
    1. Create a Component based on the Notification Bar Schema.
    2. Enter content.
      • Headline—the notification bar heading text
      • Text—the main notification bar text
      • Continue text—the text that the user can click to hide the notification
      • linkText—the text that the user can click to find out more information about the notification
      • externalLink —the external Page that is opened when the user clicks linkText
      • internalLinkt —an internal Page that is opened when the user clicks linkText
      • alternateText —the tooltip text
    3. Add the notification bar Component to a Page using a Component Template mapped to the Info region.
      When you use an existing Component Templates (used for Cookie or Old Browser), the notification bar shares the same cookie with other Components using that same Component Template.