aw schriftzug.png aw logo 60x60.png

RenderUncategorizedTopics
list all topics not categorized yet

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

Bad search at /var/lib/Foswiki-2.1.9/lib/Foswiki/Contrib/DBCacheContrib/Search.pm line 225. at /usr/share/perl5/CGI/Carp.pm line 361. CGI::Carp::realdie("Bad search at /var/lib/Foswiki-2.1.9/lib/Foswiki/Contrib/DBCa"...) called at /usr/share/perl5/CGI/Carp.pm line 453 CGI::Carp::die("Bad search") called at /var/lib/Foswiki-2.1.9/lib/Foswiki/Contrib/DBCacheContrib/Search.pm line 225 Foswiki::Contrib::DBCacheContrib::Search::_parse("'TopCategory' DISTANCE topic) = 1 ") called at /var/lib/Foswiki-2.1.9/lib/Foswiki/Contrib/DBCacheContrib/Search.pm line 211 Foswiki::Contrib::DBCacheContrib::Search::_parse("TopicType=~'\\b(Classified|Categorized)Topic\\b' AND TopicType "...) called at /var/lib/Foswiki-2.1.9/lib/Foswiki/Contrib/DBCacheContrib/Search.pm line 110 Foswiki::Contrib::DBCacheContrib::Search::new("Foswiki::Contrib::DBCacheContrib::Search", "TopicType=~'\\b(Classified|Categorized)Topic\\b' AND TopicType "...) called at /var/lib/Foswiki-2.1.9/lib/Foswiki/Plugins/DBCachePlugin/WebDB.pm line 284 Foswiki::Plugins::DBCachePlugin::WebDB::dbQuery(Foswiki::Plugins::DBCachePlugin::WebDB=HASH(0x5654c2002268), "TopicType=~'\\b(Classified|Categorized)Topic\\b' AND TopicType "..., ARRAY(0x5654c200afd0), "name", "off", undef, "UncategorizedTopics|WebTopicEditTemplat", undef, …) called at /var/lib/Foswiki-2.1.9/lib/Foswiki/Plugins/DBCachePlugin/Core.pm line 328 Foswiki::Plugins::DBCachePlugin::Core::__ANON__() called at /usr/share/perl5/Error.pm line 465 eval {...} called at /usr/share/perl5/Error.pm line 454 Error::subs::try(CODE(0x5654c178ae48), HASH(0x5654c1778220)) called at /var/lib/Foswiki-2.1.9/lib/Foswiki/Plugins/DBCachePlugin/Core.pm line 335 Foswiki::Plugins::DBCachePlugin::Core::handleDBQUERY(Foswiki::Plugins::DBCachePlugin::Core=HASH(0x5654bf6511f8), Foswiki=HASH(0x5654bc8cb748), Foswiki::Attrs=HASH(0x5654c200b1b0), "RenderUncategorizedTopics", "Applications/ClassificationApp", Foswiki::Meta=HASH(0x5654c178b190)) called at /var/lib/Foswiki-2.1.9/lib/Foswiki/Plugins/DBCachePlugin.pm line 53 Foswiki::Plugins::DBCachePlugin::__ANON__(Foswiki=HASH(0x5654bc8cb748), Foswiki::Attrs=HASH(0x5654c200b1b0), "RenderUncategorizedTopics", "Applications/ClassificationApp", Foswiki::Meta=HASH(0x5654c178b190)) called at /var/lib/Foswiki-2.1.9/lib/Foswiki/Func.pm line 660 Foswiki::Func::__ANON__(Foswiki=HASH(0x5654bc8cb748), Foswiki::Attrs=HASH(0x5654c200b1b0), Foswiki::Meta=HASH(0x5654c178b190)) called at /var/lib/Foswiki-2.1.9/lib/Foswiki.pm line 3547 Foswiki::_expandMacroOnTopicRendering(Foswiki=HASH(0x5654bc8cb748), "DBQUERY", "\x{a} \"TopicType=~'\\b(Classified|Categorized)Topic\\b' AND TopicT"..., Foswiki::Meta=HASH(0x5654c178b190)) called at /var/lib/Foswiki-2.1.9/lib/Foswiki.pm line 3409 Foswiki::_processMacros(Foswiki=HASH(0x5654bc8cb748), "AdministrationForum ApplicationLicense ApplicationTopic Articles Blogs Bookmarks Bug Reports Business Structure Campain Management CategorizedTopic CategorizedTopicEditTemplate CategorizedTopicRenderIndexItem CategorizedTopicViewTemplate Category CategoryBrowser CategoryEditTemplate CategoryRenderIndexItem CategoryTemplate CategoryViewTemplate Channel Management Classified Controlled Test Topic ClassifiedControlledTopic ClassifiedControlledTopicEditTemplate ClassifiedControlledTopicViewTemplate ClassifiedTopic ClassifiedTopicEditTemplate ClassifiedTopicRenderIndexItem ClassifiedTopicViewTemplate Competition CompleteDocumentation Contacts ControlledTestTopic ControlledTopic ControlledTopicEditTemplate ControlledTopicViewTemplate Corporate Customers DataForm DataFormAttribute Departments Development DocuTopic Documentation Employee Directory Events Feature Request Feedback Finance & Planning Budget Form Templates Reporting Forum Frequently asked Questions General Glossary Groups Form Templates Policies Human Resources ITCategory Help Desk Policies IconSet Industry Installation Intranet Knowledge Base Legal Manuals Budget Marketing Research Meeting Room Reservation Migration & Conversion News & Announcements Open Jobs Org.Chart Our Company PatternSkinCategoryViewTemplate Performance Pipeline Management Plans & Presentations Podcasts Processing Products Projects Quality Management RenderAllCategories RenderCategory RenderCategoryBreadcrumbs RenderCategoryBrowser RenderCategoryEditor RenderCategoryFactory RenderCategorySettings RenderClassifiedTopicView RenderHierarchyAsJSON RenderIconSelector RenderKnownCats RenderKnownTags RenderKnownTagsSolr RenderSideBar RenderSolrTagCloud RenderTagEditor RenderUncategorizedTopics RenderWebTagCloud RenderWorkflowInfo Sales Forecast Reporting Security SeoTopic SeoTopicEditTemplate SeoTopicViewTemplate Services Services SimpleApprovalWorkflow Software Starter Kit Support TaggedTopic TaggedTopicEditTemplate TaggedTopicRenderIndexItem TaggedTopicViewTemplate TestCategorizedTopic1 TestCategory TestCategory0 TestCategory10 TestCategory Eleven TestCategory12 TestCategory13 TestCategory Vierzehn TestCategory15 TestCategory16 TestCategory2 TestCategory3 TestCategory4 Test Category Five TestCategory6 TestCategory7 TestCategory8 TestCategory9 Test Seo Topic TestTagging TestTopic Foo TestTopic1 Tools & Services Top TopicFunction TopicStub TopicTemplate TopicType TopicView Training Traveling Upgrading WebAtom WebChanges ClassificationApp WebLexicon WebLinks WebNotify WebPreferences WebRss WebSearch WebSearchAdvanced WebTagIndex WebTool WebTopicEditTemplate WebTopicList WelcomeMessage WikiApplication WikiTopic Wikis Wish List WorkflowDefinition WorkflowDefinitionEditTemplate WorkflowDefinitionTemplate WorkflowDefinitionViewTemplateSTARTSECTION{\"document"..., Foswiki::Meta=HASH(0x5654becce2f0)) called at /var/lib/Foswiki-2.1.9/lib/Foswiki/UI/View.pm line 405 Foswiki::UI::View::view(Foswiki=HASH(0x5654bc8cb748)) called at /var/lib/Foswiki-2.1.9/lib/Foswiki/UI.pm line 375 Foswiki::UI::__ANON__() called at /usr/share/perl5/Error.pm line 465 eval {...} called at /usr/share/perl5/Error.pm line 454 Error::subs::try(CODE(0x5654bb53e5f8), HASH(0x5654bc8cb298)) called at /var/lib/Foswiki-2.1.9/lib/Foswiki/UI.pm line 506 Foswiki::UI::_execute(Foswiki::Request=HASH(0x5654bc790528), CODE(0x5654bb547088), "view", 1) called at /var/lib/Foswiki-2.1.9/lib/Foswiki/UI.pm line 327 Foswiki::UI::handleRequest(Foswiki::Request=HASH(0x5654bc790528)) called at /var/lib/Foswiki-2.1.9/lib/Foswiki/Engine/CGI.pm line 100 Foswiki::Engine::CGI::run(Foswiki::Engine::CGI=HASH(0x5654bbfbf910)) called at /var/www/foswiki/bin/view line 30.

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