Go
Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...

RenderWebChanges

Parameters

  • SKIP: topic offset
  • LIMIT: number of hits per page

CSS

  • webChangesHolder
  • webChangesEven
  • webChangesOdd

Implementation

%STARTINCLUDE%
*~~
%~~ DBQUERY{
~~~    order="modified" 
~~~    limit="%IFDEFINED{"%LIMIT%" then="%LIMIT%" else="10"}%" 
~~~    reverse="on" 
~~~    skip="%SKIP%"
~~~    header="<noautolink>
~~~      $percntCALC{\"$dollarSET(incr, 0)\"}$percnt <!-- CALC incr = 0 -->
~~~      <div class=\"webChangesHolder\">
~~~      $percntDBCALL{\"RenderPageNavigation\" 
~~~        SKIP=\"%SKIP%\" 
~~~        MAX=\"$count\"
~~~        LIMIT=\"%IFDEFINED{"%LIMIT%" then="%LIMIT%" else="10"}%\"
~~~      }$percnt
~~~      <table class=\"twikiTable\">
~~~      <tr>
~~~        <th>&nbsp;</th> 
~~~        <th>Topic</th>
~~~        <th>Changed</th>
~~~        <th>Author</th>
~~~      </tr>"
~~~    format=" 
~~~      $percntCALC{\"$dollarSETM(incr, +1)\"}$percnt <!-- CALC incr++ -->
~~~      <tr class=\"
~~~        $percntCALC{\"$dollarIF($dollarODD($dollarGET(incr)),
~~~          webChangesOdd,webChangesEven)\"
~~~        }$percnt\"
~~~      >
~~~        <td>$index</td>
~~~        <td>[[$web.$topic][$topic]]</td>
~~~        <td style=\"white-space:nowrap\">
~~~          <a href=\"%SCRIPTURL{"rdiff"}%/$web/$topic?type=last&render=sequential\">
~~~            $formatTime(info.date) -
~~~            $expand(info.version)
~~~          </a>
~~~        </td>  
~~~        <td>[[%MAINWEB%.$expand(info.author)][$expand(info.author)]]</td>
~~~      </tr>
~~~      <tr class=\"
~~~        $percntCALC{\"$dollarIF($dollarODD($dollarGET(incr)),
~~~          webChangesOdd,webChangesEven)\"
~~~        }$percnt\"
~~~      >
~~~        <td>&nbsp;</td>
~~~        <td colspan=\"3\">
~~~          <div style=\"margin:2px 10px 5px 0px;\">
~~~            $flatten($trunc($expand(Summary or text),256))
~~~          </div>
~~~        </td>
~~~     </tr>"
~~~    footer="</table></noautolink>
~~~      $percntDBCALL{\"RenderPageNavigation\" 
~~~        SKIP=\"%SKIP%\" 
~~~        MAX=\"$count\"
~~~        LIMIT=\"%IFDEFINED{"%LIMIT%" then="%LIMIT%" else="10"}%\"
~~~      }$percnt
~~~      </div>"
~~~ }%
*~~
%STOPINCLUDE%

Test

  Topic Changed Author
1 WebStatistics 17 May 2012 - 23:00 - 1.1809 TWikiAdminGroup
 
---++ Statistics for WEB Web *Month:* *Topic views:* *Topic saves:* *File uploads:* *Most popular topic views:* *Top contributors for topic save and uploads:* May 2012 15070 0 0
2 NatSkinStyleBrowser 13 May 2010 - 09:50 - 1.17 MichaelDaum
 
---+ Style Browser Explore the style variations of the TWIKIWEB.NatSkin by changing the base and a of it. In general style variations are used to change the header art but also adapt colors to match the graphics. Various elements of the style can
3 FlexWebListExamples 29 May 2009 - 10:52 - 1.3 MichaelDaum
 
---+!! TOPIC These are some simple examples to show how to use the basic features of the FlexWebListPlugin. Please create some subwebs in the Sandbox web for a better illustration of the examples below. Some of the examples are displayed using the &#
4 NatSkinWebCreateNewTopicTemplate 07 May 2009 - 09:29 - 1.1 MichaelDaum
 
TMPL:INCLUDE{"view"} TMPL:DEF{"content"} ---+ MAKETEXT{"Create New Topic in [_1] Web" args="BASEWEB"} TMPL:P{"formstartstep"} TMPL:P{"topicnamestep"} TMPL:P{"topicparentstep"} TMPL:P{"
5 TWikiWebLinks 07 May 2009 - 09:21 - 1.11 MichaelDaum
 
---+ TOPIC Standard links in sidebar navigation. STARTINCLUDE * MAKETEXT{"New Topic"} * BASEWEB.WebTopicListMAKETEXT{"Index"} * BASEWEB.WebChangesMAKETEXT{"Changes"} * BASEWEB.WebNotifyMAKETEXT{&#

r0 - 30 Jan 2007 - 17:38:02 - TWikiContributor
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 Michael Daum Consulting? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.RenderWebChanges