I confirm the best solution is not using paginator. I call a stored procedures passing current page and number of page to show in a page.
it is too much long and not natural to ovveride paginate and paginatecount.. you need to make a lot of conditions according to where was called the method.. Another possibily is hack the paginator helper, but it is too long... I suggest a little hack to paginator...i made this in 1.1 The possibility for paginator not using a model... If i pass number of page, and the number of total result...the paginator could aniway show his stuff... The paginator limit is the fact that it searches always a model... If I want to paginate others..I cannot...I have a lot of limit... So a little suggestion to programmer, it is a internal property to IsModelLinked...and from this continue... On Nov 17, 4:11 am, Sergei <[EMAIL PROTECTED]> wrote: > What's the problem? Do it without paginator component, with > appropriate find conditions. I did such task in version 1.1. > > On 17 нояб, 03:14, Alessio <[EMAIL PROTECTED]> wrote: > > > > > I have two models, news and articles. > > > I need to show them togheter, and paginate togheter because I want to > > show in the same page. > > > How Can I get this using the paginator? > > > Is it possible to pass to paginator an array? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
