You can set your controller to detect ajax requests you can then set the layout to use the ajax layout. This outputs the $content_for_layout var only (not like default.ctp which has html head, body)
Request & response objects and request handler are things to look at
- S
On 28 Dec 2011 12:20, "J." <contact.mysparetime@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
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:
Post a Comment