cross
Foswiki General Assembly will be held on 28th November 2019, 1200 UTC on Freenode IRC channel #foswiki-association. See AgendaTenthGeneralAssembly
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 attachments
I Attachment Action Size Date Who Comment
TopicCountPlugin.md5md5 TopicCountPlugin.md5 manage 171 bytes 01 Apr 2010 - 21:29 ArthurClemens  
TopicCountPlugin.sha1sha1 TopicCountPlugin.sha1 manage 195 bytes 01 Apr 2010 - 21:29 ArthurClemens  
TopicCountPlugin.tgztgz TopicCountPlugin.tgz manage 4 K 01 Apr 2010 - 21:28 ArthurClemens  
TopicCountPlugin.zipzip TopicCountPlugin.zip manage 5 K 01 Apr 2010 - 21:28 ArthurClemens  
TopicCountPlugin_installerEXT TopicCountPlugin_installer manage 4 K 01 Apr 2010 - 21:28 ArthurClemens  
Topic revision: r2 - 05 Apr 2011, TorbenGB - This page was cached on 19 Nov 2019 - 21:11.

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