aw schriftzug.png aw logo 60x60.png

RenderUncategorizedTopics
list all topics not categorized yet

2019-05-02 - 10:19 | Version 3 |

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

# Topic Title
1 SimpleApprovalWorkflow SimpleApprovalWorkflow
2 TestSeoTopic Test Seo Topic
3 TestTopic1 TestTopic1

Copyright

© 2006-2015 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.
Warning: Can't find topic Applications/ClassificationApp.WebLeftBarExample

Impressum © Alexander Weimer GmbH