On Mon, Jul 7, 2008 at 9:56 PM, Dardo Sordi Bogado <[EMAIL PROTECTED]> wrote: > > Or use counterCache.
Perhaps you could explain why counterCache is a better option than writing a custom paginateCount() method in this case. As far as I can tell, to use counterCache you have to 1) add a behaviour 2) add a field to your table Doing it the paginateCount() way, all you have to do it 1) write your own "how we count things for pagination purposes" query I am making these assumptions based on the following link: http://blog.matsimitsu.nl/code/163/cakephp-countercache -- 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 cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---