The globalmessage.xml file is used to insert a message on every page that all visitors will see.
This topic contains the following sections.
Location
The global message file is located in the root of the web content folder.
Example: ~/content/globalmessage.xml
Description
The Global Message file
System administrators may wish to post a message that all connected visitors will see. For example if the sysadmin is updating the system, he may wish to warn users to finish what they are doing before the system goes down. Messages are stored in an Xml file that is read and rendered on every page request. If the file does not exist, no message is displayed.
| The contents of the global message is stored in cache and is only reloaded when the file has been changed. |
The contents of the message element is what is injected into the outgoing page. It can contain plain text or XHtml tags to format the message as desired.
<message> Place message here </message>
| Since the global message is loaded as Xml, the message body must contain Html that is well formed. |
Example
<message> <div style="text-align: center; font-size: 14pt; color: rgb(255, 34, 34); background-color: rgb(255, 255, 0);"> <strong>The system is shutting down in 5 minutes! Good bye cruel world...</strong> </div> </message>
