Provides framework for organizing content within a web according to different
types of topics (discussion, weblog, reference, etc) and hierarchical "categories". Includes sample topic types and categories. Provides basic framework to design and manage simple
TWiki:Codev.TWikiApplications.
Topic Classification Add-On
TopicClassificationAddOn (aka TCAO) helps you organize the content in your wiki by classifying topics according to their function and/or subject matter. It also provides a user-friendly interface for creating new topics that automatically incorporates this classification system. Together, these basic elements provide a platform that allow you to create any number of simple
TWiki:Codev.TWikiApplications.
Some of the features of
TopicClassificationAddOn include:
- Simple installation mechanism to add the TCAO framework to a web and install sample classifications.
- A "wizard" for creating new topics and apply classification scheme.
- Display Classification trees using TWiki:Plugins.TopicTreePlugin.
- Design your own classification schemes.
Add-On Installation Instructions
%$INSTALL_INSTRUCTIONS%
After installing this add-on, there are a few additional steps needed before it will function properly:
- Make sure
{EnableHierarchicalWebs} is enabled in configure (under "Store settings" tab).
- Add the following preference section to Main.TWikiPreferences:
---++ TWiki.TopicClassificationAddOn Preferences
* TCAOWEB variable for identifying which web holds %TOPIC% infrastructure.
* Set TCAOWEB = TCAO
* Set HELP_BACKGROUND_COLOR = #E0B9A6
- Go to TWikiGroups and create a new group called
ModeratorGroup. This group can add new classifications within webs where TCAO is enabled.
- Add the following CommentPlugin templates definitions to UserCommentsTemplate? (create this topic if you have not already).
---------------------------------------------------------------------------
---+++ comment
Simple comment box
<verbatim>
%TMPL:DEF{PROMPT:comment}%
<div style="background: #f9f9f9;border-bottom: 1px solid #efefef;margin: 0 0 5px 0;clear: left;color: #333;padding: 5px;">
<table border="0" cellpadding="0" cellspacing="0"><tr valign="middle"><td>%ICON{bubble}% <span style="margin: 0 0 10px 0;font-size: .9em;color: #666;padding: 3px 0;font-weight: normal;"> *%SPACEOUT{%WIKINAME%}% said...* </span> %BR%<textarea %DISABLED% rows="%rows|7%" cols="%cols|80%" name="comment" class="twikiInputField" wrap="soft" onfocus="if(this.value=='%MESSAGE%')this.value=''" onblur="if(this.value=='')this.value='%MESSAGE%'">%MESSAGE%</textarea></td></tr><tr><td><input %DISABLED% type="submit" value="%button|Post this comment%" class="twikiButton" /></td></tr></table></div>
%TMPL:END%
</verbatim>
<verbatim>
%TMPL:DEF{OUTPUT:comment}%%POS:BEFORE% <div style="background: #f9f9f9;border-bottom: 1px solid #efefef;margin: 0 0 5px 0;clear: left;color: #333;padding: 5px;">
<span style="margin: 0 0 10px 0;font-size: .9em;color: #666;padding: 3px 0;font-weight: normal;" > <!-- COMMENT_TAG --> %ICON{bubble}% %GMTIME{"$day $month $hour:$min"}% | *%SPACEOUT{%WIKINAME%}% said...* </span> <p />
%URLPARAM{"comment" }%
</div>
%TMPL:END%
</verbatim>
---------------------------------------------------------------------------
---+++ Removable help section
This template is used by %SYSTEMWEB%.TopicClassificationAddOn to display instructions for new !TopicTypes. - TWiki:Main.LynnwoodBrown
<verbatim>
%TMPL:DEF{PROMPT:removeable_help}%
<div style="background-color:%HELP_BACKGROUND_COLOR%;padding:1em;">
%INCLUDE{"%TCAOWEB%.RenderNewTopicHelp" }%
<input %DISABLED% type="submit" value="%button|Remove this help message%" />
</div>
%TMPL:END%
%TMPL:DEF{OUTPUT:removeable_help}%
%POS:BOTTOM%
%TMPL:END%
</verbatim>
---------------------------------------------------------------------------
TopicClassificationAddOn is designed to organize content within individual webs.To install the TCAO framework within a web, use the form below.(The won't show up until you've completed the above steps.)
Warning: Can't find topic TCAO.RenderInstallTopicClassification
Setting up Topic Classification within a web
Once
TopicClassificationAddOn is enabled within a web, you're ready to start defining
TopicTypes and
SubjectAreas to be used in that web. To do this, go to those respective topics (e.g. go to TopicType to add new TopicTypes) and use form at bottom that is only visible to members of ModeratorGroup (or
TWikiAdminGroup, of course).
Add-On Info
Topic revision: r1 - 02 Apr 2008 - 01:13:07 -
TWikiGuest