Wednesday, December 28, 2011

Re: Ajaxing a $this->Item->find('all') - twitter style.

isn't that per definition a pagination? ;)
so why don't you use it then?
you dont have to make your life harder than it is

and yes - you can always set LIMIT to your desired limits
('limit'=>'10, 20')
but then you need to make sure you know how many there are (for
maximum) etc
so in the end I am not sure you are saving time here


On 28 Dez., 13:20, "J." <contact.mysparet...@gmail.com> wrote:
> Long story short, I want to display all owned items on profiles, but I
> don't want to paginate it.
>
> Is it possible to display only, like 10 items with a find all, and
> when the user is scrolling, it lad 10 more, and 10 more etc... like
> with twitter tweets ?
>
> Perhaps with an ajax helper ? Thanks for your time.

--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: