CommentPlugin examples

CommentPlugin templates

Default

Default comment output 1

-- TWikiContributor - 26 Nov 2006

Default comment output 2

-- TWikiContributor - 26 Nov 2006

No such template def TMPL:DEF{PROMPT:above}

top

No such template def TMPL:DEF{PROMPT:top}

bottom

No such template def TMPL:DEF{PROMPT:bottom}

above

Above comment output 1

-- TWikiContributor - 26 Nov 2006

Above comment output 2

-- TWikiContributor - 26 Nov 2006 No such template def TMPL:DEF{PROMPT:above}

below

No such template def TMPL:DEF{PROMPT:below}

bulletabove

Example with inputsize="20":

  • Bullet above comment output 1
  • Bullet above comment output 2
No such template def TMPL:DEF{PROMPT:bulletabove}

threadmode

Threadmode comment output 1

-- TWikiContributor - 26 Nov 2006

Threadmode comment output 2

-- TWikiContributor - 26 Nov 2006 No such template def TMPL:DEF{PROMPT:threadmode}

belowthreadmode

No such template def TMPL:DEF{PROMPT:belowthreadmode}

TWikiContributor - 26 Nov 2006 - 12:09

Belowthreadmode comment output 2

TWikiContributor - 26 Nov 2006 - 12:09

Belowthreadmode comment output 1

tableprepend

No such template def TMPL:DEF{PROMPT:tableprepend}

Tablepreprend comment output 2 TWikiContributor 26 Nov 2006 - 11:03
Tablepreprend comment output 1 TWikiContributor 26 Nov 2006 - 11:02

tableappend

Tableappend comment output 1 TWikiContributor 26 Nov 2006 - 10:38
Tableappend comment output 2 TWikiContributor 26 Nov 2006 - 10:39
No such template def TMPL:DEF{PROMPT:tableappend}

after

No such template def TMPL:DEF{PROMPT:after}

action

(requires TWiki:Plugins/ActionTrackerPlugin)

%ACTION{ due="1-Dec-2007" creator="Main.TWikiContributor" uid="000001" state="open" created="26-Nov-2006" who="Main.TWikiContributor" }% <<EOF Action comment output 1 - Created by TWikiContributor, 26 Nov 2006 - 10:58 EOF %ACTION{ due="1-Jan-2008" creator="Main.TWikiContributor" uid="000003" state="open" created="26-Nov-2006" who="Main.TWikiContributor" }% <<EOF Action comment output 2 - Created by TWikiContributor, 26 Nov 2006 - 10:58 EOF No such template def TMPL:DEF{PROMPT:action}

table

1 Dec 2007 TWikiContributor Athens
1 Jan 2008 TWikiContributor Beijing
No such template def TMPL:DEF{PROMPT:table}

toctalk

26 Nov 2006 - 00:45 TWikiContributor: Toctalk output summary 1

Toctalk output message 1

26 Nov 2006 - 11:09 TWikiContributor: Toctalk output summary 2

Toctalk output message 2

No such template def TMPL:DEF{PROMPT:toctalk}

bookmark

No such template def TMPL:DEF{PROMPT:bookmark}

return

Post to a different topic and return to here. In this example comments are written to Sandbox.CommentPluginExampleComments. Available with TWiki 4.1.

Comments:

Target comment output 1

-- TWikiContributor - 03 Dec 2006

Target comment output 2

-- TWikiContributor - 03 Dec 2006


No such template def TMPL:DEF{PROMPT:return}

noform

Example of a custom form to save a comment to a new topic. When the topic is created the parent will be our Sandbox example topic.

New topic name:
Enter a WikiWord topic name
Topic text:
No such template def TMPL:DEF{PROMPT:above}

templatetopic

Example of a form definition in a topic. The comment template is located in CommentPluginTemplateExample.

TWikiContributor - 08 Apr 2007:

templatetopic example comment output 1


 


This topic: TWiki > CommentPlugin > CommentPluginTemplate > CommentPluginExamples
History: r2 - 2007-04-08 - 09:40:10 - TWikiContributor
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.CommentPluginExamples