Re: Ajax pagination returns the whole page instead of the requested div

2012-09-17 Thread Miqdad Ali
Try this one.. Add this code starting.. layout = ''; endif; ?> - Miqdad Ali K +919995258790 http://www.miqdadalik.com On Fri, Aug 31, 2012 at 4:29 AM, darkangel wrote: > Did you fix it? I'm facing the same issue :S > > > On Sunday, July 1, 2012 12:27:27 PM UTC-6, JonStark wrote: > >>

Re: Ajax pagination returns the whole page instead of the requested div

2012-08-30 Thread darkangel
Did you fix it? I'm facing the same issue :S On Sunday, July 1, 2012 12:27:27 PM UTC-6, JonStark wrote: > > Thanks for the head up ! > > But still, doesn't solve my problem :( > > Whenever I try to paginate a update just a given div, I get the full > layout in response > > Le dimanche 1 juill

Re: Ajax pagination returns the whole page instead of the requested div

2012-07-03 Thread lowpass
I can't speak to the example code you provided as I don't use Cake's JSHelper for AJAX. Does the full layout include the data you wanted? Or does it just have what you'd see when first arriving at the page? Does your controller action have a redirect? Does the returned HTML include an error or not

Re: Ajax pagination returns the whole page instead of the requested div

2012-07-01 Thread JonStark
Thanks for the head up ! But still, doesn't solve my problem :( Whenever I try to paginate a update just a given div, I get the full layout in response Le dimanche 1 juillet 2012 20:18:10 UTC+2, MaJerle.Eu a écrit : > > just use $this->request->is('ajax') > > you don't need to include Reque

Ajax pagination returns the whole page instead of the requested div

2012-07-01 Thread JonStark
Hello everyone. I'm trying to do a Twitter style auto- load more when scrolling : > > > > >element('posts'); ?> > > > > > > > echo $this->Html->script('jquery', false); > $maxPage = $this->Paginator->counter('%pages