Tags:
create new tag
view all tags

Question

RevCommentPlugin is supposed to extend oopshistory.tmpl if HistoryPlugin and CompareRevisionsAddOn are installed but in my case it hasn't done it. The plugin syntax works correctly, I would just need either a working copy of a oopshistory template or someone to tell me what do I need to modify manually.

Thanks a lot!

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: VM Debian Stable Linux install
Web server: Apache
Perl version:  
Client OS: Debian Linux
Web Browser:  
Categories: Plugins, Add-Ons

-- MiloValenzuela - 17 Nov 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

Please check if the plugins are enabled in configure.

-- ArthurClemens - 27 Nov 2006

They are all enabled. All the plugins work correctly. Its just the fact that the History template (oopshistory.tmpl) is not getting updated to include the syntax that would include the comments.

-- MiloValenzuela - 30 Nov 2006

Sorry, closing this after more than 30 days. Try posting in the RevCommentPluginDev topic...

-- PeterThoeny - 29 Dec 2006

Though my answer is late by one year (I face exactly the same problem now), this may help someone else. I am not familiar with perl etc but somehow I managed to make this work. Given below is the extract of my oopshistory.tmpl. Look for the code between Inserted by Chengappa and end of insertion (in two places). Insert the same text at the same place and it should work.

<th>%MAKETEXT{"Revision"}%</th>
<th>%MAKETEXT{"Changed on"}%</th>
<th>%MAKETEXT{"By"}%</th>
<!-- Inserted by Chengappa --><th>%MAKETEXT{"Summary of changes"}%</th><!-- end of insertion -->
</tr>
%HISTORY{"<tr class="historySelectRow"><td class="historySelectLeft"><input $checked1 type=\"radio\" class=\"twikiRadioButton\" name=\"rev1\" value=\"$rev\" /></td><td class="historySelectRight"><input $checked2 type=\"radio\" class=\"twikiRadioButton\" name=\"rev2\" value=\"$rev\" /></td><td align="right"><a href=\"%SCRIPTURL{view}%/%WEB%/%TOPIC%?rev=$rev\">$rev</a></td><td>$date</td><td>[[$wikiusername][$wikiname]]</td><!-- Inserted by Chengappa --><td>%REVCOMMENT[rev=''$rev'' web=''$web'' topic=''$topic'']%</td><!--End of insertion --></tr>" rev1="%URLPARAM{"rev1"}%" rev2="%URLPARAM{"rev2"}%" nrev="%URLPARAM{"nrev"}%" header="" footer="<tr><td colspan=\"2\"></td><td colspan=\"3\">%MAKETEXT{"This listing:"}% $next{'%MAKETEXT{"last"}%' url='%SCRIPTURL{oops}%/%WEB%/%TOPIC%?template=oopshistory&nrev=$nrev'} $next{'%MAKETEXT{"later"}%' url='%SCRIPTURL{oops}%/%WEB%/%TOPIC%?template=oopshistory&rev1=$rev1&nrev=$nrev'} $previous{'%MAKETEXT{"earlier"}%' url='%SCRIPTURL{oops}%/%WEB%/%TOPIC%?template=oopshistory&rev1=$rev1&nrev=$nrev'} $previous{'%MAKETEXT{"first"}%' url='%SCRIPTURL{oops}%/%WEB%/%TOPIC%?template=oopshistory&rev1=1&nrev=$nrev'}</td></tr>"}%
</table>
-- ChengappaCB - 05 Dec 2007

Thanks ChengappaCB, you've got great timing. I just installed this plugin last night and experienced the same problem, so I came back and found your tip.

-- MichaelWeremecki - 05 Dec 2007

I am glad that I could help smile

-- ChengappaCB - 06 Dec 2007

Change status to:
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2007-12-06 - ChengappaCB
 
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.