Tags:
create new tag
, view all tags
Installation

Follow these steps to install the PeerPlugin for TWiki:

  1. Do PeerReviewMySQLSetUp
  2. Do PeerReviewDbiDbdSetUp
  3. Unzip the PeerPlugin.zip file in your twiki installation directory
  4. Add Plugins.PeerPlugin to the ACTIVEPLUGINS variable of your TWikiPreferences or WebPreferences (not strictly necessary as the plugin should now be detected automatically)
  5. 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";
  6. Edit the TWiki05x01.TWikiPreferences, TWiki05x01.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&amp;regex=on&amp;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&amp;regex=on&amp;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:

  1. twiki/lib/Plugins/PeerPlugin.pm
  2. twiki/lib/Plugins/PeerPlugin/Review.pm
  3. twiki/pub/Plugins/PeerPlugin/*.gif
  4. twiki/templates/peerview.tmpl
  5. twiki/tools/dbitest
  6. twiki/data/%WIKIWEB%.PeerPlugin
  7. twiki/data/%WIKIWEB%.PeerPluginView
  8. twiki/data/%WIKIWEB%.PeerPluginForm
  9. twiki/data/%WIKIWEB%.PeerPluginExtView
  10. twiki/data/%WIKIWEB%.PeerPluginExtForm
  11. twiki/data/%WIKIWEB%.PeerReviewStats
  12. twiki/data/%WIKIWEB%.PeerReviewExamples
  13. twiki/data/%WIKIWEB%.PeerReviewInstall
  14. twiki/data/%WIKIWEB%.PeerReviewMySQLSetUp
  15. twiki/data/%WIKIWEB%.PeerReviewDbiDbdSetUp

-- SteveRoe - 22 Aug 2001

Topic revision: r1 - 2001-08-22 - SteveRoe
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.