Note: You are viewing an old version of this page. View the current version.

Differences between version 2 and previous revision of Help/AddCommentPlugin.

Other diffs: Previous Major Revision, Previous Author

Newer page: version 2 Last edited on Sunday, 21 February 2010 15:50:30 by admin Revert
Older page: version 1 Last edited on Sunday, 19 April 2009 10:06:25 by The PhpWiki programming team Revert
@@ -24,9 +24,9 @@
 jshide does not work yet. Not very well tested. 
  
 !! Examples 
  
-< ?plugin AddComment jshide||=1 ?>  
+?plugin AddComment jshide||=1 ? 
  
 ------------- 
  
 PhpWikiDocumentation Help:WikiPlugin 

version 2

Help:WikiPlugin to let users attach comments to the end of a page. Since v1.3.8. Change the layout via the templates comment.tmpl and addcomment.tmpl, and the CSS classes wikicomment, wikicomment-header, wikicomment-body, wikicomment-footer

Usage

     <?plugin AddComment order||=normal jshide||=0 mode||=show,add noheader||=0 ?>

Plugin Arguments

jshide: Boolean if the comments and/or textbox should be initially hidden and on click expanded. Default: 0
order: List comments in chronological (order=normal) or reverse order (order=reverse)
mode: List of add and/or show. Default: add,show
noheader: Boolean if the "Comments" h2 header should be omitted. Default: 0
pagename: Attach to which page? Default: current pagename

Known Problems

jshide does not work yet. Not very well tested.

Examples

?plugin AddComment? jshide||=1 ?


PhpWikiDocumentation Help:WikiPlugin