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
RenderClassificationTopic
in TCAO
Function: RenderClassificationTopic Documentation RenderClassificationTopic is INCLUDED in Classification topics within the specific webs where TopicClassificati...
RenderSearchString
in TCAO
Function: RenderSearchString Documentation RenderSearchString is used to automatically generate the search string, including all user selected options from Rende...
2 topic(s) found
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.