cross
Foswiki is going down for maintenance at 2024/04/19 - 16:00 (in 10.1933333333333 hours)

How can I broadcast a message to my wiki users, Eg. for maintenance reasons?

There is a special BROADCASTMESSAGE preference setting documented very briefly in DefaultPreferences.

You set this like any other site-wide preference in Main.SitePreferences, although BROADCASTMESSAGE can be set per-web (in WebPreferences) or even per topic (read about PreferenceSettings for more about scope of preference variables).

It adds a "broadcast message" to the top of the screen (depending on the skin used), for example, let's set a message that the site is going down for maintenance in a few hours:

   * Set BROADCASTMESSAGE = %WIKITOOLNAME% is going down for maintenance at %SERVERTIME{"$year/$mo/$day"}% - 16:00 (in %CALC{$EVAL($TIMEDIFF($TIME(), $TIME(%SERVERTIME{"$year/$mo/$day"}% - 16:00), hour))}% hours)

Support.FAQForm edit

TopicClassification FrequentlyAskedQuestion
Subject Macros or Variables, Usage, Other...
Topic Summary Explains the BROADCASTMESSAGE preference setting
Extension
Interested Parties
Related Topics DefaultPreferences, PreferenceSettings
Topic revision: r2 - 27 Dec 2011, ArthurClemens
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy