Changes between Version 8 and Version 9 of MotdPlugin
- Timestamp:
- Jul 27, 2015, 12:54:12 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MotdPlugin
v8 v9 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = Display a MOTD in Trac =3 = Display a MOTD in Trac 4 4 5 == Description ==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 acknowledgethe message, it is no longer shown.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. 8 8 9 For a sysadmin it was always hard to inform every trac user about upcoming system updates, maintenance periods, hardware changes or whatever. With this plugin it's now possible to display such message(s) to every trac page, even when having many projects, by simply editing 1 (one!!) textfile.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. 10 10 11 == Bugs/Feature Requests ==11 == Bugs/Feature Requests 12 12 13 13 Existing bugs and feature requests for MotdPlugin are … … 15 15 16 16 If you have any issues, create a 17 [ http://trac-hacks.org/newticket?component=MotdPlugin&owner=ChristianMnew ticket].17 [/newticket?component=MotdPlugin new ticket]. 18 18 19 == Download and Source == 19 [[TicketQuery(component=MotdPlugin&group=type,format=progress)]] 20 21 == Download and Source 20 22 21 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. 22 24 23 == Configuration ==25 == Configuration 24 26 25 MotdPlugin can be configured with the following options :26 {{{ 27 MotdPlugin can be configured with the following options in your `trac.ini` file: 28 {{{#!ini 27 29 [motd] 28 30 message_file = /data/messag_of_the_day.ini … … 49 51 * sets the height of the MOTD-frame in pixel (range: 300-800) 50 52 51 === motd.ini file ===53 === motd.ini file 52 54 53 55 MotdPlugin uses an ini-style file for configuring the messages that should be displayed. … … 67 69 must be in the range of: ''m'' for minutely, ''h'' for hourly, ''d'' for daily and ''w'' for weekly. 68 70 69 70 == Example == 71 == Example 71 72 72 73 {{{ … … 82 83 }}} 83 84 84 The first example should be self explaining. 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.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.ini and displays the complete content of this file. 85 86 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. 86 87 87 88 == Recent Changes == 88 == Recent Changes 89 89 90 90 [[ChangeLog(motdplugin, 3)]] 91 91 92 == Author/Contributors ==92 == Author/Contributors 93 93 94 94 '''Author:''' [wiki:ChristianM] [[BR]] 95 '''Maintainer:''' [ wiki:ChristianM] [[BR]]95 '''Maintainer:''' [[Maintainer]] [[BR]] 96 96 '''Contributors:'''