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 History Action Size Date Who Comment
Texttxt oopshistory.tmpl.txt r1 manage 2.2 K 2005-04-14 - 12:23 JChristophFuchs Template for combining HistoryPlugin with CompareRevisionsAddOn (Twiki Sep 2004 release)
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2006-02-27 - PeterThoeny
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.