Foswiki is going down for maintenance at 2021/07/25 - 16:00 (in 11.0777777777778 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
Interested Parties
Related Topics DefaultPreferences, PreferenceSettings
Topic revision: r2 - 27 Dec 2011, ArthurClemens - This page was cached on 25 Jul 2021 - 06:55.

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