Alert bar
The alert bar should be used sparingly. It is designed to indicate environments that should not be publicly available (such as development, acceptance, test etc) and for limited site-wide alerts.
The alert bar should not be used for news and items of interest.
If you are unsure about proper use of the alert bar, please ask.
Implementation
In the standard PHP templates, the alert bar can be enabled by editing the $BodyBanner
variable in settings_site.php.
Different ids
are available for different environments:
devlmsg
– development environment (red banner)acepmsg
– acceptance environment (green banner)testmsg
– test environment (yellow banner)archivemsg
– archived environment (blue banner)
To remove the alert bar, set:
If you are not using the standard PHP templates, you can implement the alert bar by placing the code
directly underneath the <body>
tag, where you can replace devlmsg
with the appropriate id
for the environment as listed above.