(Redirected from AddCommentPlugin/Comment/2006-08-07)

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

Comments


PhpWikiDocumentation WikiPlugin

lib/CachedMarkup.php (In template 'browse' < 'body' < 'html'):499: Notice: Only variables should be assigned by reference

lib/DbaDatabase.php:134: Warning: dba_replace() [<a href='function.dba-replace'>function.dba-replace</a>]: You cannot perform a modification to a database without proper access