I was always under the impression that multiple pagination was impossible. Where did you hear it was possible?
Ill browse the source code for you and let you know if theres a way. On Sep 8, 4:55 am, Martin Westin <[email protected]> wrote: > Hi, I just can't seem to figure this out. > > I want to paginate two models on the same page. I can't figure out how > to make the Helper output links correctly. > > Example: > $paginator->numbers(array('model'=>'ModelA')); > $paginator->numbers(array('model'=>'ModelB')); > > I thought that would be it. Those two will output the numbers for each > model (3 pages for A and 5 for B) but the links will both just be > "page:2" and so on. No model-specific links. Same for next and prev. > > $paginator->options(array( > 'ModelA'=>$this->passedArgs, > 'ModelB'=>array('url' => $this->passedArgs) > )); > > I tried a few variations of this kind of options because I saw in the > source that options looked for model names but that has not yielded > anything good either. > > As you can tell I a lost here and I feel like I am missing something > obvious since multiple paginations are supposed to be supported afaik. > > any suggestions? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
