https://github.com/mnvx/octobercms-comments-plugin
Comments plugin for OctoberCMS
https://github.com/mnvx/octobercms-comments-plugin
Last synced: 9 months ago
JSON representation
Comments plugin for OctoberCMS
- Host: GitHub
- URL: https://github.com/mnvx/octobercms-comments-plugin
- Owner: mnvx
- License: mit
- Created: 2017-06-17T07:20:29.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-22T10:20:04.000Z (over 9 years ago)
- Last Synced: 2025-05-14T12:56:58.722Z (about 1 year ago)
- Language: PHP
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**OctoberCMS Comments plugin**
----------
The plugin allows you to add comments to any page or module.
Users can login with RainLab.User plugin or guest.
**Features**
----------
- Google recaptcha is optional, can enable in settings
- Allow guests to comments
- Set default status for add new comment
**Installation**
----------
1. Add this plugin to a project.
2. Also You must install [RainLab.User](http://octobercms.com/plugin/rainlab-user) plugin.
3. Add Comments component to page.
**Comments post**
Use the commentsPost component to display a list comments on page. The component has the following variables:
- **url** - the current url path without domain
- **posts** - the list comments from database for current page
- **count** - number comments for page
The comment list is coded in the component partial
plugins/taras/comments/components/comments/list.htm.
The html form comments is coded in the component partial
plugins/taras/comments/components/comments/form.htm
The default component which contains form.htm and list.htm located at
plugins/taras/comments/components/comments/default.htm