Did you tried to include paginator helper in your controller?

On Oct 15, 4:39 am, "Yves S. Garret" <[email protected]>
wrote:
> I took the pagination route.
>
> Here is my controller:
>
> http://bin.cakephp.org/view/340330848
>
> Here is my view:
>
> http://bin.cakephp.org/view/2041962013
>
> And this is the error that I'm getting:
>
> *Fatal error*: Call to a member function sort() on a non-object in *
> D:\Inetpub\wwwroot-clinical\pythia-admit-lookup\app\views\providers\view_ad 
> mit_lookup.ctp
> * on line *10*
>
> I don't get what the issue is.
>
> On Fri, Oct 14, 2011 at 3:25 PM, Jeremy Burns | Class Outfit 
> <[email protected]> wrote:
> > Your code is doing exactly what you are asking to do and, in this case,
> > pagination is indeed your friend. The book has everything you need to do
> > pagination and even ajax pagination.
>
> > Jeremy Burns
> > Class Outfit
>
> >http://www.classoutfit.com
>
> > On 14 Oct 2011, at 20:22, Yves S. Garret wrote:
>
> > Hey all.  I have a small problem.
>
> > I'm making a little app that will draw info from the database.  The issue
> > that I'm running into is that it draws 3000+ records out at the same time
> > and dumps it on the screen.  I would like only the first 30.  How can I do
> > that?
>
> > This is my controller.
>
> >http://bin.cakephp.org/view/784081619
>
> > Looking into pagination at the moment...
>
> > --
> > Our newest site for the community: CakePHP Video Tutorials
> >http://tv.cakephp.org
> > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
> > others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > [email protected] For more options, visit this group
> > athttp://groups.google.com/group/cake-php
>
> >  --
> > Our newest site for the community: CakePHP Video Tutorials
> >http://tv.cakephp.org
> > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
> > others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > [email protected] For more options, visit this group
> > athttp://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to