Skip to content
Sample Application for the CakePHP Comments Plugin
Branch: master
Clone or download
Pull request Compare This branch is 6 commits ahead of sams:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Controller
Model
Plugin
Test
View
config
locale/eng/LC_MESSAGES
webroot
.gitignore
.gitmodules
.htaccess
LICENSE.txt
README.md
index.php

README.md

Support http://github.com/CakeDC/Sample-Comments-Application/issues

Copyright 2009 - 2010, Cake Development Corporation 1785 E. Sahara Avenue, Suite 490-423 Las Vegas, Nevada 89104 http://cakedc.com

The comments plugin will allow you to make any kind of data comment-able.

Installation

  1. add migration and comments plugin as submodules

    git submodule init git submodule update

  2. run migrations for posts, users and comments plugins

    cake Migrations.migration all --plugin Users cake Migrations.migration all --plugin Comments cake Migrations.migration all --plugin Posts

Testing

  1. register user

    http://TESTDOMAIN/users/register

  2. login

    http://TESTDOMAIN/users/login

  3. visit posts page

    http://TESTDOMAIN/posts

  4. add some posts

    http://TESTDOMAIN/posts/add

  5. visit page to view some post and try to comment it, reply to added comments, etc.

    http://TESTDOMAIN/posts/view/ID

  6. Also you may want to look at comments admin interface http://TESTDOMAIN/admin/comments/index

You can’t perform that action at this time.