]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FAddCommentPlugin
Wikicreole syntax for links
[SourceForge/phpwiki.git] / pgsrc / Help%2FAddCommentPlugin
1 Date: Sat, 24 Jan 2009 20:18:24 +0100
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.14-20080124)
3 X-Rcs-Id: $Id$
4 Content-Type: application/x-phpwiki;
5   pagename=Help%2FAddCommentPlugin;
6   flags=PAGE_LOCKED;
7   markup=2;
8   charset=iso-8859-1
9 Content-Transfer-Encoding: binary
10
11 The *~AddComment* [[Help:WikiPlugin|plugin]] lets users attach comments to the end of a page.
12 Change the layout via the templates comment.tmpl and addcomment.tmpl, and the CSS classes
13 wikicomment, wikicomment-header, wikicomment-body, wikicomment-footer
14
15 == Usage
16 <verbatim>
17 <?plugin AddComment order||=normal jshide||=0 mode||=show,add noheader||=0 ?>
18 </verbatim>
19
20 == Arguments
21 __jshide__: |
22   Boolean if the comments and/or textbox should be initially hidden and on click expanded. Default: 0
23 __order__:  |
24   List comments in chronological (order=normal) or reverse order (order=reverse)
25 __mode__:  |
26   List of add and/or show.  Default: add,show
27 __noheader__:  |
28   Boolean if the "Comments" header should be omitted. Default: 0
29 __pagename__:  |
30   Attach to which page? Default: current pagename
31
32 == Known Problems
33
34 jshide does not work yet. Not very well tested.
35
36 == Examples
37
38 <?plugin AddComment jshide||=1 ?>
39
40 ----
41 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]