Tags:
create new tag
view all tags
#VarCOMMENT ---+++ COMMENT{ _attributes_ } -- insert an edit box into the topic to easily add comments. %STARTSECTION{"comment_attributes"}% * A =%<nop>COMMENT%= without parameters shows a simple text box. * A =%<nop>COMMENT{}%= can handle the following parameters: | *Parameter* | *Description* | *Default* | | =type= | This is the name of the template to use for this comment. Comment templates are defined in a TWiki template - see [[CommentPlugin#TemPlates][customization]]. If this attribute is not defined, the type is whatever is defined by COMMENTPLUGIN_DEFAULT_TYPE, either in this topic or in your WebPreferences. | ="below"= | | =default= | Default text to put into the textarea of the prompt. | | | =target= | Name of the topic to add the comment to | the current topic | | =location= | Regular expression specifying the comment location in the target topic. Read _carefully_ the CommentPlugin documentation! | | | =mode= | For compatibility with older versions only, synonymous with =type= | | | =nonotify= | Set to "on" to disable change notification for target topics | ="off"= | | =noform= | Set to "on" to disable the automatic form that encloses your comment block - _remember_ to insert =<form>= tags yourself! See CommentPluginExamples#noform for an example. | ="off"= | | =nopost= | Set to "on" to disable insertion of the posted text into the topic. | ="off"= | | =remove= | Set to "on" to remove the comment prompt after the first time it is clicked. | ="off"= | | =button= | Button label text | ="Add comment"= | | =emailto= | Send comment by email. Use comma "," to seperate multiple email addresses. This feature is disabled by default. To enable this feature, please set up "$TWiki::cfg{Plugins}{CommentPlugin}{EmailEnabled} = 1;". | | %ENDSECTION{"comment_attributes"}% * See CommentPlugin for more information * Category: ApplicationsAndComponentsVariables, DatabaseAndFormsVariables, EditingAndContentUpdateVariables, WorkflowAndAutomationVariables * Related: [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarHIDE][HIDE]], TWikiForms
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r3 - 2012-11-12
-
TWikiContributor
Home
Site map
Sandbox web
TWiki web
XPDays2010 web
XPDays2011 web
XPDays2011SponsoringDemo web
XPDays2012 web
TWiki Web
User registration
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
User Reference
ATasteOfTWiki
TextFormattingRules
TWikiVariables
FormattedSearch
QuerySearch
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
InterWikis
ManagingUsers
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Account
Log In
Register User
E
dit
A
ttach
Copyright © 1999-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback
Note:
Please contribute updates to this topic on TWiki.org at
TWiki:TWiki.VarCOMMENT
.