Foswiki is going down for maintenance at 2017/06/03 - 16:00 (in 6.38666666666667 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 03 Jun 2017 - 11:36.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License