Category
a classification in a field of knowledge

02 May 2019 - 20:19 | Version 1 |

Install Category

Target web:

Select a web where to deploy this component.

Documentation

Categories are a kind of predefined "backgone" to organized content and facilitate navigation. Categories can be used for very different purposes. To effectively use categories you have to understand the difference to tags as they are available for TaggedTopics. So while tags are a kind of "keywords" that connect content in a per-to-per fashion, categories are a predefined hierarchy where content is situated in separate compartments.

Categories themselves are CategorizedTopics thus implementing a hierarchy.

See also: See CategorizedTopic, ClassifiedTopic, TaggedTopic, CategoryTemplate, CategoryViewTemplate, CategoryEditTemplate, RenderCategoryBrowser

%STARTSECTION{"readwrite"}%<!-- -->
%DBCALL{"Applications.RenderSimpleTopicCreator"}%

%IF{
  "'%HIERARCHY{
     web="%URLPARAM{"web" default="%BASEWEB%"}%"
     nullformat="$count"
     depth="0"
   }%'!=0"
   then="$percntDBCALL{\"Applications.ClassificationApp.RenderCategoryBrowser\" 
     THEWEB=\"%URLPARAM{"web" default="%BASEWEB%"}%\"
     MODE=\"edit\"
     BUTTONS=\"filter, refresh\"
   }$percnt"
}%<!-- -->%ENDSECTION{"readwrite"}%

%STARTSECTION{"readonly"}%<!-- -->
%IF{
  "'%HIERARCHY{
     web="%URLPARAM{"web" default="%BASEWEB%"}%"
     nullformat="$count"
     depth="0"
   }%'!=0"
   then="$percntDBCALL{\"Applications.ClassificationApp.RenderCategoryBrowser\" 
     THEWEB=\"%URLPARAM{"web" default="%BASEWEB%"}%\"
     MODE=\"browse\"
     BUTTONS=\"filter, refresh\"
   }$percnt"
}%<!-- -->%ENDSECTION{"readonly"}%

Category form

Name: Type: Size: Values: Description: Attributes: Default:
TopicType label 3 Category,CategorizedTopic, WikiTopic Document type   Category,CategorizedTopic, WikiTopic
TopicTitle text 75        
Summary text 75   short description of this category    
Redirect topic 30   topic where to redirect to when visiting this category, e.g. a portal page representing this category    
Category cat 1   one or more parent categories that this category is filed to c  
Icon icon 30 cat="fonticon" icon to be displayed listing this category    
ImportedCategory text 75   import a root category from another web; all categories below it will be imported to this web in a virtual way    
SubCategories textarea 80x25   specify sub-categories inline as a bullet list    
Order text 5   number used in sorting categories    
Responsible Person user+multi 30   person taking care of this category    

DataForms that use the 'Category' attribute

# Name Summary Application
1 CategorizedTopic content organized by categories ClassificationApp
2 Category a classification in a field of knowledge ClassificationApp
3 ClassifiedControlledTopic classified content under workflow control ClassificationApp
4 ClassifiedTopic content organized by categories and tags ClassificationApp
5 SeoTopic a topic carrying search engine enhanced metadata ClassificationApp
6 WorkflowDefinition defines a workflow for controlled topics ClassificationApp

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 AustLII Communities? Send feedback
This website is using cookies. More info. That's Fine