Changes between Version 9 and Version 10 of MotdPlugin
- Timestamp:
- Nov 18, 2015, 11:00:36 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MotdPlugin
v9 v10 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = Display a MOTDin Trac3 = Display a message of the day in Trac 4 4 5 5 == Description 6 6 7 Unlike the NewsFlashMacro, this plugin allows the system-administrator to display a MOTD on ''every'' Trac page. Once the user acknowledges the message, it is no longer shown.7 This plugin allows the system-administrator to display a message of the day (MOTD) on ''every'' Trac page. Once the user acknowledges the message, it is no longer shown. It is similar to the NewsFlashMacro, with the difference that every page is affected instead of only the ones where the macro is embedded. 8 8 9 9 For a sysadmin it was always hard to inform every Trac user about upcoming system updates, maintenance periods, hardware changes or similar. With this plugin it is now possible to display such message(s) on every Trac page, even when having many projects, by simply editing one text file. … … 19 19 [[TicketQuery(component=MotdPlugin&group=type,format=progress)]] 20 20 21 == Download and Source21 == Download 22 22 23 Download the zipped source from [download:motdplugin here], check out MotdPlugin from [http://trac-hacks.org/svn/motdplugin here] using Subversion, or [source:motdplugin browse the source] with Trac. 23 Download the zipped source from [export:motdplugin here]. 24 25 == Source 26 27 Check out MotdPlugin from [/svn/motdplugin here] using Subversion, or [source:motdplugin browse the source] with Trac. 28 29 == Installation 30 31 General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. 24 32 25 33 == Configuration … … 53 61 === motd.ini file 54 62 55 MotdPlugin uses an ini-style file for configuring the messages that should be displayed .63 MotdPlugin uses an ini-style file for configuring the messages that should be displayed: 56 64 {{{ 57 65 [MsgName] … … 83 91 }}} 84 92 85 The first example should be self explanatory. In the second example there is the ''message'' parameter missing! In that case MotdPlugin searches for a file named ''Message2.html'' in the directory specified by ''message_dir'' in trac.iniand displays the complete content of this file.93 The first example should be self explanatory. In the second example there is the ''message'' parameter missing! In that case MotdPlugin searches for a file named ''Message2.html'' in the directory specified by ''message_dir'' in `trac.ini` and displays the complete content of this file. 86 94 This message will be shown 3 times, interval is daily. If the expiration date is before the repeat period finishes, the message is no longer shown. 87 95