Skip to content

wejs/we-plugin-comment

Repository files navigation

We.js comments plugin

Add comments to We.js project

Configuration

[project]/config/local.js

    // ...
    latestCommentLimit: 3,// limit for preloaded comments
    comments: {
      models:  {
        // enable comments in models:
        post: true,
        article: true,
        cfnews: true
      }
    }
    // ...

Installation

we i we-plugin-comment

Features

Widgets

comment-form

Add comments in any record with widgets interface

Helpers:

comments

Add comments programaticaly in any record template

{{{comments modelName="post" modelId=record.id comments=record.metadata.comments count=record.metadata.commentCount locals=this}}}

License

the MIT license.

Sponsored by

About

We.js plugin to add comments feature in We.js projects

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •