]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FAddCommentPlugin
Initialize $html
[SourceForge/phpwiki.git] / pgsrc / Help%2FAddCommentPlugin
1 Date: Thu,  9 Dec 2010 14:51:45 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0)
3 Content-Type: application/x-phpwiki;
4   pagename=Help%2FAddCommentPlugin;
5   flags=PAGE_LOCKED%2CEXTERNAL_PAGE;
6   charset=UTF-8
7 Content-Transfer-Encoding: binary
8
9 The **~AddComment** [[Help:WikiPlugin|plugin]] lets users attach comments to the end of a page.
10 Change the layout via the templates comment.tmpl and addcomment.tmpl, and the CSS classes
11 wikicomment, wikicomment-header, wikicomment-body, wikicomment-footer
12
13 == Usage ==
14 {{{
15 <<AddComment order||=normal jshide||=0 mode||=show,add noheader||=0>>
16 }}}
17
18 == Arguments ==
19
20 {| class="bordered"
21 |-
22 ! Argument
23 ! Description
24 ! Default value
25 |-
26 | **jshide**
27 | Boolean if the comments and/or textbox should be initially hidden and on click expanded.
28 | 0
29 |-
30 | **order**
31 | List comments in chronological (order=normal) or reverse order (order=reverse)
32 | normal
33 |-
34 | **mode**
35 | List of add and/or show.
36 | add,show
37 |-
38 | **noheader**
39 | Boolean if the "Comments" header should be omitted.
40 | 0
41 |-
42 | **pagename**
43 | Attach to which page?
44 | current pagename
45 |}
46
47 == Known Problems ==
48
49 * jshide does not work yet. Not very well tested.
50
51 == Examples ==
52
53 <<AddComment jshide||=1>>
54
55 <noinclude>
56 ----
57 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
58 </noinclude>