Tags:
create new tag
, view all tags

Combining HistoryPlugin with CompareRevisionsAddOn

It is possible to combine the HistoryPlugin with the CompareRevisionsAddOn, with the help of templates. Basically, in the templates you use for HistoryPlugin, replace rdiff by compare.

More detailed (TWiki Sep 2004 release)

  • Copy the attached oopshistory.tmpl.txt to lib/templates/oopshistory.tmpl (with the extension .txt deleted) (instead of the example from the HistoryPlugin page.)
    Call %SCRIPTURL%/oops%SCRIPTSUFFIX%/%WEB%/%TOPIC%?template=oopshistory , select two revisions and click on "Compare"
  • In the pattern skin, you can change the link labeled "total page history" to the HistoryPlugin:
    In templates/view.pattern.tmp around line 53, change the link from %SCRIPTURLPATH%/rdiff%SCRIPTSUFFIX%/%WEB%/%TOPIC% to %SCRIPTURL%/oops%SCRIPTSUFFIX%/%WEB%/%TOPIC%?template=oopshistory

Easier (Twiki Dakar 4.0.x release)

-- JChristophFuchs - 27 Feb 2006

Topic attachments
I Attachment Action Size Date Who Comment
Texttxt oopshistory.tmpl.txt manage 2.2 K 2005-04-14 - 12:23 JChristophFuchs Template for combining HistoryPlugin with CompareRevisionsAddOn (Twiki Sep 2004 release)
Topic revision: r3 - 2006-02-27 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, 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.