Docs/Portal & branding/Announcements
DartRelay 2.1 documentation
Portal & branding

Announcements

Announcements are notices you post on the portal: planned maintenance, a new application, a change to how people sign in. This page explains how to write one, where it appears, and how to make an urgent notice pop up as an alert.

What announcements are

An announcement is a short notice with a heading, a formatted body and an optional mark (a small icon). Notices appear on a notice board on the sign-in page, the home page, or both. Unlike an Agreement, nothing is accepted and no notice replaces another: every notice that applies is shown at once, in the order you set.

Use announcements for things people should read but do not have to agree to. Use an Agreement when you need a record that somebody accepted terms.

AnnouncementAgreement
PurposeTell people somethingAsk people to read or accept terms
How many at onceAll that apply, in your orderOne: the most specific, newest
WhereSign-in page, home page, or bothBefore sign-in or after sign-in
SchedulePublish on and expiry datesOn or off
Record keptWho closed it (once-per-user notices)Who accepted it (once-per-user agreements)

Where notices appear

There are two ways a notice reaches people:

Post an announcement

  1. Open the list. Go to Appearance → Announcements.
  2. Add a notice. Click the button to add an announcement. The editor opens.
  3. Write the heading. Type the heading people will see. A heading is required; it is also how the notice is listed in the console.
  4. Write the body. Use the editor's toolbar for bold, italic, headings, lists, quotes and links. You can paste text from a document; unsupported formatting is removed when you save.
  5. Choose a mark (optional). Click Choose icon to pick a small icon from the Icon Library. Leave it empty for no mark.
  6. Choose the addresses. In Applies to, leave the box empty for every address, or type one or more hostnames separated by commas. Wildcards such as *.acme.com are allowed, and the box suggests the addresses you have bound on Tenancy & Branding as you type.
  7. Choose the screens. Tick whether the notice shows on the sign-in page, on the home page, or on both.
  8. Decide if it is hot. Tick hot only for something people must see before they continue, such as an outage.
  9. Choose how often. Pick how often a person sees it again after closing it (see How often a notice comes back).
  10. Set the dates (optional). Fill in Publish on and Expires on to schedule it. Dates and times are in UTC. Leave them empty to show the notice for as long as it is active.
  11. Save. Make sure Active is ticked and save. The notice appears on the next page load (within a minute on every server of a pool).

Announcement fields

FieldWhat it doesDefault
HeadingThe notice's title. Required. Can be written per language.—
BodyThe notice text, written in the rich editor. Can be written per language.—
MarkA small icon from the Icon Library shown beside the heading. On a notice shown on the sign-in page, choose one of the icons that come with DartRelay: an icon you uploaded yourself is only available to signed-in people, so the editor refuses it there.None
Applies toThe addresses the notice appears on. Empty means every address. Several hostnames separated by commas; wildcards allowed.Every address
Show on the sign-in pageShows the notice before people sign in.—
Show on the home pageShows the notice after people sign in.—
HotShows the notice as an alert people must close.Off
FrequencyHow often a closed notice comes back: once per user, once per browser, or every visit.—
Publish onWhen the notice starts showing, in UTC.Immediately
Expires onWhen the notice stops showing, in UTC.Never
ActiveSwitches the notice on or off without deleting it.—

Hot notices (alerts)

A hot notice opens as an alert in front of the page. It takes the keyboard focus, stops the page behind from scrolling, and must be closed before anything behind it can be used. The page itself is still loaded behind the alert, so a person whose browser cannot remember that they closed it is never locked out of the portal.

Keep hot notices for things that genuinely matter. Several hot notices at once means several alerts to close.

How often a notice comes back

SettingWhat happens after a person closes it
Once per userThat person does not see it again, on any device. DartRelay records who closed it. Only meaningful after sign-in, because nobody is known on the sign-in page.
Once per browserThat browser does not show it again for a year. Another browser or device shows it again.
Every visitIt comes back each time the browser is closed and reopened.

The announcement editor has a reset option to show a notice to everybody again. Use it with care: it brings the notice back for everyone who has already closed it.

Ordering notices

On Appearance → Announcements, notices are shown on the board in list order. Drag a notice by its grip to a new position, or use the up and down arrows (which also work from the keyboard). The list marks which notices are live now.

Notice board settings in the theme

The Announcements block in a theme controls how the board looks. Its settings include:

Writing notices in several languages

When more than one language is switched on, the heading and body each have a language menu. Write the Original first; it is shown to anybody whose language has no version of its own. Then choose each language and write its version. See Languages.

Example: a weekend maintenance window

The IT team will patch hosts on Saturday from 08:00 to 12:00 UTC.

  1. Advance notice. On Monday, post a notice headed "Planned maintenance on Saturday" on both the sign-in and home pages, every address, frequency once per user, Expires on Saturday 12:00.
  2. During the work. Post a second notice headed "Maintenance in progress", hot, on the sign-in page only, frequency every visit, Publish on Saturday 08:00, Expires on Saturday 12:00.
  3. Order. Drag the in-progress notice to the top.
  4. Afterwards. Both notices disappear by themselves at 12:00. Delete them later, or leave them switched off for reference.

If something goes wrong

A notice does not appear

Saving is refused because of the mark

The notice is shown on the sign-in page and its mark is an icon you uploaded. Choose one of the icons that come with DartRelay instead.

Exported themes arrive without notices

Announcements belong to the installation, not to a theme, so a theme package carries the board block but not the notices. Recreate the notices on the other installation.

Still stuck? Email support@dartinnovations.com with what you were doing, what you expected and what you saw. A screenshot helps.