Reference library

Article number: 300990
Last updated: 24 January 2017

Create a page commenting block

You can insert a Page Commenting block into a template or variable block. It only requires one XML node:-

<PAGE_COMMENTING>
</PAGE_COMMENTING>

The module can be configured after creation, or automatically upon creation by using additional XML parameters. If they are not used, the configurations in the Default Value column are used. The parameters should be contained within the primary <PAGE_COMMENTING> XML tags, e.g.

<PAGE_COMMENTING>
<moderated>1 </moderated>
</PAGE_COMMENTING>

Variable Application Possible Values Default Value
<approvetoemail>me@mysite.net</approvetoemail> The email address that moderated emails will be sent to any email address   null
<classid>11234</classid> The classid applied to the page commenting block (11.0) Int default classid
<moderated>1 </moderated> Whether the comments are moderated via email 1,0 0
<showcaptcha>1</showcaptcha> Whether the visitor must fill in a CAPTCHA field in order to submit a comment 1,0 1
<usedivs>1</usedivs> Whether HTML divs or tables are used 1,0 0
<daystoarchive>100</daystoarchive> How long before the comments are archived (1 day or above) 365 null
<requireemail>1</requireemail> If the user is required to post their email with their comment 1,0 0
<showaddress>1</showaddress> Whether the address will be shown beside comment 1,0 1
<showtelephone>1</showtelephone> Whether the telephone number will be shown beside comment 1,0 0
<showprofession>1</showprofession> Whether the job will be shown beside comment 1,0 0

 

Note that the following fixed text is used from the multi-lingual Sitekit CMS dictionary:

  • Submit Comment
  • Leave a Comment
  • Your comment has been added
  • Back To Latest Comments
  • Archived Comments
  • View Archived Comments
  • There are currently no archived comments
  • You must enter your name before you can leave a comment on this page
    all comments are moderated - your submission will be posted on approval
    Comments

 

Related questions


This article was last updated on 24 January 2017. Did you find it helpful?