r3 - 27 Feb 2006 - 18:56:09 - PeterThoenyYou are here: TWiki >  Plugins Web > CompareRevisionsAddOn > CombineHistoryPluginWithCompareRevisionsAddOn
Tags:
, create new tag

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
txttxt oopshistory.tmpl.txt manage 2.2 K 14 Apr 2005 - 12:23 JChristophFuchs Template for combining HistoryPlugin with CompareRevisionsAddOn (Twiki Sep 2004 release)
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r3 < r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo