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
--
MiloValenzuela - 17 Nov 2006
Answer
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
--
ChengappaCB - 06 Dec 2007