Allows users to attach comments to nodes.
The modules provides a comment submission form with a real time comment preview and all the screens required to manage the comments and configure the module.
The get_comments
prototype method returns the approved comments associated with a node.
<?php
$app->models['articles']->one->comments;
The get_comments_count
prototype method returns the number of approved comments associated with
a node.
<?php
$app->models['articles']->one->comments_count;
This module is designed to work with the CMS Icybee.
The recommended way to install this package is through Composer:
$ composer require icybee/module-comments
The package is available on GitHub, its repository can be cloned with the following command line:
$ git clone git://github.com/module-comments.git comments
The documentation for the package and its dependencies can be generated with the make doc
command. The documentation is generated in the docs
directory using ApiGen.
The package directory can later by cleaned with the make clean
command.
This module is licensed under the New BSD License - See the LICENSE file for details.