Just set up your default $paginate var, then, in the action, check if there's a User session. If so, adjust $this->paginate['whatever'] before calling paginate().
On Fri, May 8, 2009 at 11:48 AM, Dave <[email protected]> wrote: > > Just wondering what would be the best way to have pagination results > based on if the user is logged in or not. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
