]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FAddCommentPlugin
Add entry for 1.4.0
[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.0RC1)
3 X-Rcs-Id: $Id$
4 Content-Type: application/x-phpwiki;
5   pagename=Help%2FAddCommentPlugin;
6   flags=PAGE_LOCKED%2CEXTERNAL_PAGE;
7   markup=2;
8   charset=UTF-8
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 {{{
17 <<AddComment order||=normal jshide||=0 mode||=show,add noheader||=0>>
18 }}}
19
20 == Arguments ==
21
22 {| class="bordered"
23 |-
24 ! Argument
25 ! Description
26 ! Default value
27 |-
28 | **jshide**
29 | Boolean if the comments and/or textbox should be initially hidden and on click expanded.
30 | 0
31 |-
32 | **order**
33 | List comments in chronological (order=normal) or reverse order (order=reverse)
34 | normal
35 |-
36 | **mode**
37 | List of add and/or show.
38 | add,show
39 |-
40 | **noheader**
41 | Boolean if the "Comments" header should be omitted.
42 | 0
43 |-
44 | **pagename**
45 | Attach to which page?
46 | current pagename
47 |}
48
49 == Known Problems ==
50
51 * jshide does not work yet. Not very well tested.
52
53 == Examples ==
54
55 <<AddComment jshide||=1>>
56
57 <noinclude>
58 ----
59 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
60 </noinclude>