Function: RenderCommentCountBar

Counts comments in a topic by counting at special tag

Documentation

TODO

Parameters

Css

Implementation

%STARTINCLUDE%<h2 style="padding: 2px 4px;color: #fff;background: #888;font-size: .9em;border-bottom: 1px solid #666;margin: 0;">
%IFDEFINEDTHEN{"%SEARCH{"%BASETOPIC%" scope="topic" web="%BASEWEB%" nonoise="on" format="$count(.*?([C]OMMENT_TAG) .*)"}%" as="[1]" glue="off" }%
1 comment so far
%ELSIFDEFINED{"%SEARCH{"%BASETOPIC%" scope="topic" web="%BASEWEB%" nonoise="on" format="$count(.*?([C]OMMENT_TAG) .*)"}%" as="[123456789].*" glue="off" }%
$test comments so far.
%ELSEDEFINED%
Be the first to post a comment.
%FIDEFINED%</h2>%STOPINCLUDE%

Test

Be the first to post a comment.

Calls to 'RenderCommentCountBar'

(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