| |
%DISCUSSION{...}% before any bullet list.
"(list|thread)" | Rendering style for discussion, see STYLE preference:=list= formats the discussion as a bullet list; the level of discussion is indicated by the indentation and the associated bullet symbol "thread" formats the discussion with colored thread lines to the left indicating the level. |
focus="text" | Focus list on a bullet containing the specified text. If no depth (see below) is specified, focus limits the depth to the focus item plus two levels. |
depth="number" | Hide bullets with an indent greater then depth. The depth is relative to the highlighted bullet in case focus is specified |
interactive="(on|off)" | If on, the discussion is followed by a control allowing selection of depth and focus interactively. |
%DISCUSSION{...}% variable on the same line is shown, but removed when the first discussion point is entered. This may serve as an introductory text inviting initiation of the discussion.
* bullets
Like this
myicon.gif, or
icon:myicon Followed by normal bullet text
%DISCUSSION{...}% variable.
EDITLABEL to edit the text at the selected item.
COMMENTLABEL to insert a comment to the current item. The comment is inserted as the last item at the next level of indentation.
%DISCUSSION{...}% variable, immediately followed by some text. This text will be deleted when the first discussion item is added (click on either of the icons to edit a new item).
| You type: | You get: (simulated) | You get: (if installed) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
%DISCUSSION{"thread"}%
* one
* one.a
* one.a.x
* one.b
* one.b.x
continue
* one.b.y
* icon:person Tim
* icon:person Mico
* two
* three
|
|
%DISCUSSION{"thread"}%
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| You type: | You get: (simulated) | You get: (if installed) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
%DISCUSSION{"thread" focus="Tim"}%
* one
* one.a
* one.a.x
* one.b
* one.b.x
continue
* one.b.y
* icon:person Tim
* icon:person Mico
* two
* three
|
|
%DISCUSSION{"thread" focus="Tim"}%
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| You type: | You get: (simulated) | You get: (if installed) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
%DISCUSSION{"thread" depth="2"}%
* one
* one.a
* one.a.x
* one.b
* one.b.x
continue
* one.b.y
* icon:person Tim
* icon:person Mico
* two
* three
|
|
%DISCUSSION{"thread" depth="2"}%
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| You type: | You get: (simulated) | You get: (if installed) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
%DISCUSSION{"list"}%Start a discussion
|
| %DISCUSSION{"list"}%Start a discussion |
%<plugin>_<setting>%, i.e. %THREADEDDISCUSSIONPLUGIN_SHORTDESCRIPTION%
data/debug.txt) list formats the discussion as an indented bullet list; thread formats the discussion with thread bars indicating the depth of the discussion. thread style 0|1 flag indicating whether to suppress or show thread lines at the top level; the next two arguments indicate width and height of icons, respectively; and the final argument gives the spacer icon between thread lines.
ThreadedDiscussionPlugin.zip in your twiki installation directory. Content: | File: | Description: |
|---|---|
data/TWiki/ThreadedDiscussionPlugin.txt | Plugin topic |
data/TWiki/ThreadedDiscussionPlugin.txt,v | Plugin topic repository |
lib/TWiki/Plugins/ThreadedDiscussionPlugin.pm | Plugin Perl module |
bin/editthread | edit script |
| Plugin Author: | TWiki:Main/ThomasWeigert |
| Plugin Version: | 12 Apr 2005 |
| Change History: | |
| 15 Aug 2005: | Fix problem with TWiki ML not rendering properly at end of section. Remove all but one apache warnings. |
| 12 Apr 2005: | Allow configurable edit and comment labels. Support bullet list style and thread style. More formatting options for thread lines. |
| 21 Mar 2005: | Integrate 21 Mar version of TWiki:Plugins/EditContrib |
| 12 Mar 2005: | Integrate TWiki:Plugins/EditContrib |
| 08 Mar 2005: | Initial version |
| CPAN Dependencies: | none |
| Other Dependencies: | TWiki:Plugins/EditContrib |
| Perl Version: | 5.005 |
| TWiki:Plugins/Benchmark: | GoodStyle nn%, FormattedSearch nn%, ThreadedDiscussionPlugin nn% |
| Plugin Home: | http://TWiki.org/cgi-bin/view/Plugins/ThreadedDiscussionPlugin |
| Feedback: | http://TWiki.org/cgi-bin/view/Plugins/ThreadedDiscussionPluginDev |
| Appraisal: | http://TWiki.org/cgi-bin/view/Plugins/ThreadedDiscussionPluginAppraisal |
| I | Attachment | Action | Size | Date | Who | Comment |
|---|---|---|---|---|---|---|
| | ThreadedDiscussionPlugin.zip | manage | 15.5 K | 18 Aug 2005 - 03:37 | ThomasWeigert |