Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Releases

No releases published

Packages

No packages published