http://debuggable.com/posts/how-to-have-multiple-paginated-widgets-on-the-same-page-with-cakephp:48ad241e-b018-4532-a748-0ec74834cda3
On Jan 6, 2:51 pm, Bernardo Vieira <bvieira.li...@gmail.com> wrote: > Hi all, > I'm trying to paginate two sets of data in the same view, I have done it > before with data from different models and then specifying the target > model when calling the paginator methods, of course this fails when the > two datasets come from the same model. A sample usage scenario would be > a Post model with a draft flag where you want to paginate draft and > published posts separately on the same view. Does anyone know to do this? --~--~---------~--~----~------------~-------~--~----~ 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---