Installation
Follow these steps to install the
PeerPlugin for TWiki:
- Do PeerReviewMySQLSetUp
- Do PeerReviewDbiDbdSetUp
- Unzip the PeerPlugin.zip file in your twiki installation directory
- Add Plugins.PeerPlugin to the ACTIVEPLUGINS variable of your TWikiPreferences or WebPreferences (not strictly necessary as the plugin should now be detected automatically)
- Edit the top of twiki/lib/TWiki/Plugins/PeerPlugin/Review.pm to reflect the database name and logon that you have chosen
- my $dataBase = "dbi:mysql:Peer";
- my $dbUsername = "myusername";
- my $dbPassword = "mypassword";
- Edit the TWiki06x01.TWikiPreferences, TWiki06x01.WebPreferences and the WebPreferences topic in each web as shown below. (Or follow the instructions in PeerReviewExamples to modify any skin).
Change...
* Set WEBTOPICLIST = %WEB% . {
<a href="WebHome">Home</a>
| <a href="WebChanges">Changes</a>
| <a href="%SCRIPTURLPATH%/search%SCRIPTSUFFIX%/%WEB%/?scope=topic&regex=on&search=.*">Index</A>
| <a href="WebSearch">Search</a>
| Go <input type="text" name="topic" size="16">
}
To...
* Set WEBTOPICLIST = %WEB% . {
<a href="WebHome">Home</a>
| <a href="WebChanges">Changes</a>
| <a href="%SCRIPTURLPATH%/search%SCRIPTSUFFIX%/%WEB%/?scope=topic&regex=on&search=.*">Index</A>
| <a href="WebSearch">Search</a>
| Go <input type="text" name="topic" size="16">
| <!--%PRLINK%--><!--%PRRATING%-->
}
Check any topic in the test web and just click "Review" to see if the installation is successful.
Install Set
List of Items Contained within the Peer Review Plugin install set:
-
twiki/lib/Plugins/PeerPlugin.pm
-
twiki/lib/Plugins/PeerPlugin/Review.pm
-
twiki/pub/Plugins/PeerPlugin/*.gif
-
twiki/templates/peerview.tmpl
-
twiki/tools/dbitest
-
twiki/data/%WIKIWEB%.PeerPlugin
-
twiki/data/%WIKIWEB%.PeerPluginView
-
twiki/data/%WIKIWEB%.PeerPluginForm
-
twiki/data/%WIKIWEB%.PeerPluginExtView
-
twiki/data/%WIKIWEB%.PeerPluginExtForm
-
twiki/data/%WIKIWEB%.PeerReviewStats
-
twiki/data/%WIKIWEB%.PeerReviewExamples
-
twiki/data/%WIKIWEB%.PeerReviewInstall
-
twiki/data/%WIKIWEB%.PeerReviewMySQLSetUp
-
twiki/data/%WIKIWEB%.PeerReviewDbiDbdSetUp
--
SteveRoe - 22 Aug 2001