RenderUncategorizedTopics
list all topics not categorized yet

02 May 2019 - 06:19 | Version 1

Documentation

List all topics that are not filed into any category. Technically they are direct decendance of the TopCategory. See also RenderUntaggedTopics.

Parameters
  • THEWEB: the web to search for, defaults to %BASEWEB%
  • EXCLUDE: regular expression of topics to be excluded, defaults to WebTopicEditTemplate

Implementation

%STARTINCLUDE%
%DBQUERY{
  "TopicType=~'\b(Classified|Categorized)Topic\b' AND TopicType !~ '\bCategory\b' AND ('TopCategory' DISTANCE topic) = 1"
  exclude="%EXCLUDE{default="WebTopicEditTemplate"}%"
  web="%THEWEB{default="%BASEWEB%"}%"
  format="   1 [[$web.$topic]]"
  separator="$n"
}%
%STOPINCLUDE%

Test

  1. Classified Controlled Test Topic
  2. SimpleApprovalWorkflow
  3. Test Seo Topic [customers only]
  4. TestTopic1

Calls to 'RenderUncategorizedTopics'

Copyright

© 2006-2019 Michael Daum http://michaeldaumconsulting.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 Flatiron Institute Documentation Center? Send feedback
This website is using cookies. More info. That's Fine