cross
Foswiki is going down for maintenance at 2017/07/05 - 16:00 (in -0.695555555555556 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 - This page was cached on 05 Jul 2017 - 18:41.

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