Displays short intro to topic with number of comments
Documentation
TODO
Parameters
- TOPICTYPES - Required Which TopicTypes to include. Enter with "bar" ("|") between.
- FACETS - Required Which facets to provide filters for.
Css
Implementation
%STARTINCLUDE%
%INCLUDE{"%TCAOWEB%.RenderBarFilterWithSort" INITSORT="created" INITLIMIT="10"}%
%~~ SEARCH{
*~~
%~~ INCLUDE{"%TCAOWEB%.RenderSearchString"
~~~ FORSEARCH="yes"
~~~ BASESEARCH="[T]opicType.*value\=.*
*~~ %IFDEFINED{"%TOPICTYPES%" as=".*\|.*" then="($test)" else="$test" glue="off"}%
*~~ "
~~~ INITSORT="created"
~~~ INITLIMIT="10" }%
~~~ nonoise="on"
~~~ web="%BASEWEB%"
~~~ type="regex"
~~~ reverse="on"
~~~ newline="%BR%"
~~~ separator="$n$n"
~~~ format="<h4>[[$web.$topic][$percntSPACEOUT{$topic}$percnt]] </h4>
~~~ <span class=foswikiSmall><em>
~~~ Posted $createdate by $createwikiusername $percntIFDEFINED{\"$formfield(SubjectArea)\" then=\"
~~~ in <noautolink>$formfield(SubjectArea)</noautolink>\"}$percnt |
~~~ $percntIFDEFINED{\"$count(.*?(---[+][+][+][+]) .*)\" as=\"1\" then=\"$test comment\" else=\"$test comments\" glue=\"off\" }$percnt
~~~ </em></span> $percntBR$percnt $percntBR$percnt
~~~ $pattern(.*?---[+]*.*?[\n\r]+(.*?)[\n\r]+.*) _[[$web.$topic][continued...]]_ "
~~~ }%
%STOPINCLUDE%
Test
Copyright
(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.