On Wed, Jul 2, 2008 at 11:41 AM, roby <[EMAIL PROTECTED]> wrote: > I know it's ridiculous but I don't know how to make it work with > paginate function in controller. I've read the bakery's Pagination 1.2 > and still don't get how to make that query suitable for pagination. > > Should I re-write the query? Anyone can help me how to make it fit > with findAll function/paginate function? Thanks in advance. >
I did a blog post about creating custom queries for pagination. It might help you out: http://www.littlehart.net/atthekeyboard/2008/03/04/custom-cakephp-12-pagination-queries/ -- Chris Hartjes Internet Loudmouth Motto for 2008: "Moving from herding elephants to handling snakes..." @TheKeyBoard: http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
