Bin will be removed on June 1, 2014 in favor of Please save all your pastes before then. So long, and thanks for all the fish!×


View Paste
  1.   public function index() {
  2.     // [...] parse some conditions because this is a generic listing...
View Paste
  1. //comments_controller.php, function add()
  2. function add()
  3.     {  
  4.         if($this->RequestHandler->isAj...
This is some code for adding ajax comments to a post (similar to blog tutorial) using cakephp 1.2...