You are here: TCAO » RenderBlogList

Function: RenderBlogList

Renders list of blog entries

Documentation

TODO

Parameters
  • Optional: INITSORT - Sets initial sort order. Defaults to modified
  • Optional: INITLIMIT - Sets initial limit of number of hits to display. Defaults to 50.

Css
  • none

Implementation

%STARTINCLUDE%
%INCLUDE{"%TCAOWEB%.RenderBarFilterWithSort"  INITSORT="%IFDEFINED{"%INITSORT%" then="$test" else="modified" glue="off"}%" INITLIMIT="%IFDEFINED{"%INITLIMIT%" then="$percntINITLIMIT$percnt" else="50" glue="off"}%" }%
%~~   DBQUERY{
~~~       
%~~       INCLUDE{"%TCAOWEB%.RenderSearchString"  
~~~           BASESEARCH="TopicType =~ '%BASETOPIC%'" 
~~~           INITSORT="%IFDEFINED{"%INITSORT%" then="$test" else="modified" glue="off"}%"
~~~           INITLIMIT="%IFDEFINED{"%INITLIMIT%" then="$test" else="50" glue="off"}%" 
~~~        }%
~~~        web="%BASEWEB%" 
~~~        footer="$n$n<b>Topics found: $count</b>"
~~~        format="$percntINCLUDE{\"%TCAOWEB%.RenderBlogListItem\" 
~~~             BLOGENTRY=\"$topic\" 
~~~             BLOGWEB=\"$web\" 
~~~             warn=\"Not found\" }$percnt"
~~~     }%
%STOPINCLUDE%

Test

Sort by:   
Limit To:

Topics found: 0

Calls to 'RenderBlogList'

(C) 2006 LynnwoodBrown@Skyloom.com

This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. For more details read the LICENSE.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Middle Fork Home Wiki? Send feedback
Syndicate this site RSS