CakeAdvent Day 15 and 16: Payment Processing and Hacking the Event System

2013-12-15 Thread Jose Diaz-Gonzalez
CakeAdvent Day 15 integrates CakePHP with Stripe, a popular payment processor, in an easy to follow way: http://josediazgonzalez.com/2013/12/15/payment-processing-using-stripe/ CakeAdvent Day 16 sets up annotations and more for use with the CakePHP Event System. Many of you may be familiar with a

Re: Validation Question

2013-12-15 Thread Reuben
When doing your own validation rules (which would definitely be needed here), you can access all fields on the submitted form via $this->data. Here's an example where I validate for a PO Box on an address, if the street name is blank. function validatePOBox($check) { $key = current($check); $ke

Re: hasMany with group by

2013-12-15 Thread Andrew Ponomarev
Hi, did you resolve the problem? How did you do that? I have the similar problem. вторник, 12 марта 2013 г., 23:33:46 UTC+4 пользователь André Luis написал: > > Hi people, I have model User and model Image, and the model User hasMany > Image, so when i use $this->User->find('all'), it comes wit

$this -> render() not using correct view

2013-12-15 Thread Kristen M
Collection controller, want to use the same view file (display_collection) to display the multiple types of collections. Very basic, no plugins involved. Pretty much like straight out of the book. Problem is that the default view for the action is being rendered. public function CollectionOne(