Skip to content

kevthunder/cake-comment

Repository files navigation

Comment Plugin

For cakePHP 1.3

Plugin to add Comment to any model item for CakePHP

Installation

  1. Put the content of this plugin in "app/plugins/" in a folder named "comment".
  2. Run "database.sql" in the database.

Getting started

In the controller you want to allow to add comment

var $components = array('Comment.Commenting');

In the model

var $actsAs = array("Comment.Commented");

In the view

echo $this->element('comments_box',array('plugin'=>'comment'));

About

Plugin to add Comment to any model item for CakePHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages