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