TIP TopicCountPlugin is not installed on Foswiki.org.

Topic Count Plugin

Shows the number of topics in a web or site

Syntax Rules

  • %TOPICCOUNT% - shows the number of topics in the current web
  • %TOPICCOUNT{parameters}% - see list of parameters below

Parameter Comment Default value Example
web Web name to search in. Possible values:
• one web
• a comma-separated list of web names
• a wildcard * to search in all webs; exclude topics using excludeweb
the current web web="Extensions", web="Extensions, Main", web="*"
excludeweb Comma-separated list of web names to not search in none web="*" excludeweb="System"
topic Topic names to search. Use this parameter when you have search results. Possible values:
• a comma-separated list of topic names
• a wildcard * to search in all topics in the web; exclude topics using excludetopics
all topics in the current web topic="TopicCountPlugin", topic="TopicCountPlugin, WebHome", topic="*"
excludetopic Comma-separated list of topic names to not show the attachments of none excludetopic="WebPreferences, WebHome"
permissiononly Set to on to only count topics the current user has permissions to view. off permissiononly="on"

Test

%TOPICCOUNT%

Output (if installed):

%TOPICCOUNT%

%TOPICCOUNT{
web="*"
excludeweb="%WEB%"
}%

Output (if installed):

%TOPICCOUNT{ web="*" excludeweb="Extensions" }%

%TOPICCOUNT{
web="%USERSWEB%"
excludetopic="WebHome, WebPreferences"
permissiononly="on"
}%

Output (if installed):

%TOPICCOUNT{ web="Main" excludetopic="WebHome, WebPreferences" permissiononly="on" }%

Installation Instructions

You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.

Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".

If you have any problems, or if the extension isn't available in configure, then you can still install manually from the command-line. See http://foswiki.org/Support/ManuallyInstallingExtensions for more help.

Plugin Info

This plugin uses Foswiki:Extensions/TopicDataHelperPlugin

Authors: Foswiki:Main.ArthurClemens
Copyright ©: Foswiki:Main.ArthurClemens
License: GPL (Gnu General Public License)
Version: 7043 (2010-04-01)
Release: 1.0
Change History:
01 Apr 2010 V.1.0 Arthur Clemens: First release.
Dependencies:
NameVersionDescription
Foswiki::Plugins::TopicDataHelperPlugin >=1.1.2 Required
Home: http://foswiki.org/Extensions/TopicCountPlugin
Support: http://foswiki.org/Support/TopicCountPlugin
Topic revision: r2 - 05 Apr 2011, TorbenGB
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy