we-plugin-comment

3.1.0 • Public • Published

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

/we-plugin-comment/

    Package Sidebar

    Install

    npm i we-plugin-comment

    Weekly Downloads

    1

    Version

    3.1.0

    License

    MIT

    Unpacked Size

    30.2 kB

    Total Files

    20

    Last publish

    Collaborators

    • albertosouza