Installation
Follow these steps to install the
Peer Plugin for TWiki:
- Do Peer Review My SQLSet Up
- Do Peer Review Dbi Dbd Set Up
- Unzip the PeerPlugin.zip file in your twiki installation directory
- Add Plugins.PeerPlugin to the ACTIVEPLUGINS variable of your TWiki Preferences or Web Preferences (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 TWiki.TWikiPreferences, TWiki.WebPreferences and the Web Preferences topic in each web as shown below. (Or follow the instructions in Peer Review Examples 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
--
Stephen Roe? - 27 Jun 2001
Wiki Category?