Comments

From The Smartest Wiki
Jump to: navigation, search

Smartest's comments system is designed to work out of the box. You are free to use alternative commenting systems if you wish, such as Facebook comments or Disqus.

Comments can only be left on items, viewed via meta-pages. To create a comment stream, simply place this is a page or container template:

<?sm:comments:?>

Smartest will look for the following templates in order to render the comment stream:

  • Sites/SITE_DIR/Presentation/Special/comments_form.tpl, and if that does not exist, then:
  • Presentation/Special/comments_form.tpl, and if that does not exist, then:
  • System/Presentation/WebPageBuilder/comments_form.tpl