This question about Upgrading from TWiki to Foswiki, Missing functionality: Answered

Web Changes Box like TWiki

Currently looking at moving from TWiki 5.0.2 to FosWiki 2.0.3, have a test system up and running which we are rather happy with.

The only bit of functionality I don't seem to be able to replicate is the ability to add a list of changes to the right had site of the page with a list of changes for the current web/subweb.

Is there a extension (I have checked but can't find anything similar) or is this functionality already builted into FosWiki and I have just missed it?

An example of what I am looking for can be found here:

http://twiki.org/cgi-bin/view/TWiki06x00/WebChangesRightBox

-- JamesOShaughnessy - 15 Dec 2015

It's actually a pretty simple formatted search. Trying it here.

Here is the code that I included above. It's based on the TWiki version, but uses the Foswiki "Query search" language. I'd recommend adding a topic to your users web (Main), named WebChangesRightBox, You can then use it on any WebHome by adding at the top: %INCLUDE{"Main.WebChangesRightBox"}%. You could put it in the System web, but then you'd need to protect it after any major Foswiki upgrades.
%STARTSECTION{type="include"}%
<div style="float: right; margin: 0 0 20px 20px; padding: 10px 20px 10px 20px; border: solid #dddddd 1px; background-image: url('/pub/%SYSTEMWEB%/WebChangesRightBox/gradient-title.png'); background-repeat: repeat-x; background-color: #fbfbfd; color: #333333; font-size: 90%;">
*Recent changes in <nop>%BASEWEB% web:*
%SEARCH{
 "'1'"
 web="%BASEWEB%"
 type="query"
 nonoise="on"
 order="modified"
 limit="%URLPARAM{"limit" default="16"}%"
 reverse="on"
 format="%BB% <a href=\"%SCRIPTURL{view}%/$web/$topic\" title=\"By <nop>$wikiname: $summary\">$percntSPACEOUT{$topic}$percnt</a>"
 separator=" "
}%
%BB% [[%BASEWEB%.WebChanges][%MAKETEXT{"more..."}%]]
</div>
%ENDSECTION{type="include"}%

-- GeorgeClark - 15 Dec 2015
 

QuestionForm edit

Subject Upgrading from TWiki to Foswiki, Missing functionality
Extension
Version Foswiki 2.0.3
Status Answered
Related Topics
Topic revision: r3 - 15 Dec 2015, GeorgeClark - This page was cached on 16 Dec 2017 - 19:49.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License