Function: RenderTopicSummaryWithCommentsList

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 &nbsp; |  
~~~          $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

Sort by:   
Limit To:

Post TCAO Install Help

Posted 09 February 2007 by ProjectContributor in TcaoAdmin  | 0 comments

This topic is displayed in TopicClassification after TCAO has been enabled within a specific web and outlines some next steps for getting the most use out of TCAO. continued...

Just Blog It Installation

Posted 10 January 2007 by ProjectContributor in TcaoUse  | 0 comments

This topic explains how to install and use the JustBlogIt Mozilla/Firebird extension in conjunction with the weblog application for TopicClassificationAddOn. These two work together really well and provide the following features: continued...

Web Log Help

Posted 10 January 2007 by ProjectContributor in TcaoUse  | 0 comments

This topic provides help regarding the WebLog TopicType included with TopicClassificationAddOn. continued...

Generic New Class Install Help

Posted 02 January 2007 by ProjectContributor  | 0 comments

This topic the generic help message after new classifications have been added to a web. continued...

New Topic Type Install Help

Posted 02 January 2007 by ProjectContributor  | 0 comments

This topic the generic help message after new classifications have been added to a web. continued...

TCAO

Posted 03 October 2006 by ProjectContributor in TcaoAdmin  | 0 comments

continued...

Calls to 'RenderTopicSummaryWithCommentsList'

(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