On 12 abr, 11:20, "majna" <[EMAIL PROTECTED]> wrote: > Pagination fromhttp://www.noswad.me.uk/Pagination12 > works fine for custom query. > add custom COUNT query, paginationCount = "SELECT COUNT()..." > $this->Pagination->init(null,$params,array('total'=>$paginationCount). Just a clarification: http://www.noswad.me.uk/Pagination12 is really (really!) simple, and uses the core 1.2 stuff. http://www.noswad.me.uk/Pagination is also really simple, but uses the bespoke component and helper from http://bakery.cakephp.org/articles/view/65. It can be used with 1.2 but (of course) overlaps what what is already in the core. The above code snippet appears to use the bakery component and helper. cheers, AD --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
