Categorization and folksomony application

TopicView

TopicType of topics that implement a TMPL template to view topics

Documentation

A TopicView defines a view for a topic. By default TWikiTopics are displayed using the installed skin and the templates (don't confuse with TopicTemplate being a content blueprint for newly created topics). The view (compare with the 'view' term from the Model-View-Control school) computes the appearance of a TWikiTopic and its form data. A new view is assigned to a topic by setting the VIEW_TEMPLATE variable.

For example the following will set th view to use the HiddenFormViewTemplate to hide the form table that is normally displayed below the wiki content.

   * Set VIEW_TEMPLATE = [[Applications.HiddenFormView][HiddenFormView]]
Note, that the ...Template string is appended automatically by the TWiki engine.

Note also, that we use the TopicView type to mark even those views that are used during editting a twiki topic and is assigned using something like

   * Set EDIT_TEMPLATE = [[Applications.FormEdit][FormEdit]]
As such the FormEditTemplate is not used during TWiki's view operation but during edit. The template is then used to render the view on the editor to be used. Edit templates either augment the normal TWiki editor, or even implement a full substitute for its form data.

New TopicView

Topics of type 'TopicView'

Nr Name Summary Application
1 CategorizedTopicViewTemplate Display a categorized topic ClassificationApp
2 CategoryViewTemplate View for Categories ClassificationApp
3 ClassifiedTopicViewTemplate Display a classified topic ClassificationApp
4 NatSkinCategorizedTopicViewTemplate Display a categorized topic ClassificationApp
5 NatSkinCategoryViewTemplate View for Categories, NatSkin version ClassificationApp
6 NatSkinClassifiedTopicViewTemplate Display a classified topic ClassificationApp
7 NatSkinTaggedTopicViewTemplate Display a tagged topic ClassificationApp
8 TaggedTopicViewTemplate Display a tagged topic ClassificationApp

See also: Applications.TopicView

r0 - 20 Oct 2006 - 02:47:14 - TWikiContributor
© giant orange extension cord that reeks hip-hop, funk & soul