I think you have to use pagination on Payment model, inside the member controller
If it is, then i will suggest the following code, if it can help. class MembersController extends AppController { var $uses = array('Payment’); function xyz(){ $this->paginate = array( 'conditions' => array('Payment.member_id' => $id), 'order' => array('Payment.created ' => 'ASC'), 'limit' => 15); $this->Payment->recursive = 0; $payments = $this->paginate('Payment'); } } Enjoy, Jitnendra On Sat, Mar 5, 2011 at 3:32 PM, heohni <heidi.anselstet...@consultingteam.de > wrote: > Hi, > > $payments = $this->Member->Payment->find('all', array( > 'conditions' => array( > 'Payment.member_id' => $id > ), > 'order' => array('Payment.created DESC') > )); > > I would like to paginate this result, how can I do this? > > I find it difficult to find a solution because I query $this->Member- > >Payment Model? > Please advise! > > Thanks and have all a happy weekend! > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this group > at http://groups.google.com/group/cake-php > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php