aw schriftzug.png aw logo 60x60.png

Category
a classification in a field of knowledge

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:

ERROR: DBCALL can't find section 'readonly' in topic 'Applications/ClassificationApp.Category'

%STARTSECTION{"readwrite"}%<!-- -->
%DBCALL{"Applications.RenderSimpleTopicCreator"
   FORM="%FORM{default="%WEB%.%TOPIC%"}%"
}%

%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 type 3 Category, ClassifiedTopic, CategorizedTopic, TaggedTopic, WikiTopic Document type h  
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    
Tag tag 30   keywords for this category    
Category cat 1 web="Applications/ClassificationApp" 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 natedit 0x35   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    

TopicType edit

TopicType TopicType, DataForm, DocuTopic, ApplicationTopic, WikiTopic
TopicTitle
Summary a classification in a field of knowledge
Icon
Editor Applications.ClassificationApp.CategoryEditTemplate
Template Applications.ClassificationApp.CategoryTemplate
Create Action edit
Topic Naming Mode derived
Topic Name Template
Topic Name Source [name=TopicTitle]
Topic Name Prefix
Topic Name Suffix Category
Topic Name Transliterate yes
WikiApplication ClassificationApp
Warning: Can't find topic Applications/ClassificationApp.WebLeftBarExample

Impressum © Alexander Weimer GmbH