CommentPlugin examples

See CommentPlugin

CommentPlugin templates

Default

Default comment output 1

-- ProjectContributor - 26 Nov 2006

Default comment output 2

-- ProjectContributor - 26 Nov 2006

 

top

 

bottom

 

above

Above comment output 1

-- ProjectContributor - 26 Nov 2006

Above comment output 2

-- ProjectContributor - 26 Nov 2006
 

below

 

bulletabove

Example with inputsize="20":

  • Bullet above comment output 1
  • Bullet above comment output 2
 

threadmode

Threadmode comment output 1

-- ProjectContributor - 26 Nov 2006

Threadmode comment output 2

-- ProjectContributor - 26 Nov 2006
 

belowthreadmode

 

ProjectContributor - 26 Nov 2006 - 12:09

Belowthreadmode comment output 2

ProjectContributor - 26 Nov 2006 - 12:09

Belowthreadmode comment output 1

tableprepend

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

tableappend

Tableappend comment output 1 ProjectContributor 26 Nov 2006 - 10:38
Tableappend comment output 2 ProjectContributor 26 Nov 2006 - 10:39
 

after

 

action

(requires Foswiki:Extensions/ActionTrackerPlugin)

%ACTION{ due="1-Dec-2007" creator="Main.ProjectContributor" uid="000001" state="open" created="26-Nov-2006" who="Main.ProjectContributor" }% <<EOF Action comment output 1 - Created by ProjectContributor, 26 Nov 2006 - 10:58 EOF %ACTION{ due="1-Jan-2008" creator="Main.ProjectContributor" uid="000003" state="open" created="26-Nov-2006" who="Main.ProjectContributor" }% <<EOF Action comment output 2 - Created by ProjectContributor, 26 Nov 2006 - 10:58 EOF

table

1 Dec 2007 ProjectContributor Athens
1 Jan 2008 ProjectContributor Beijing

toctalk

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

Toctalk output message 1

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

Toctalk output message 2

bookmark

return

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

Comments:

Target comment output 1

-- ProjectContributor - 03 Dec 2006

Target comment output 2

-- ProjectContributor - 03 Dec 2006


 

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:
 

templatetopic

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

ProjectContributor - 08 Apr 2007:

templatetopic example comment output 1


 


Wersja tematu: r1. Ostatnia edycja: 2010-05-27, ProjectContributor. Stronę odwiedzono 204 razy.
 
O ile nie jest to stwierdzone inaczej, wszystkie materiały na stronie są dostępne na licencji Creative Commons Uznanie Autorstwa 3.0 Polska.
Pewne prawa zastrzeżone na rzecz Polskiej Partii Piratów. Serwis wykorzystuje oprogramowanie Foswiki na licencji GPL v2.