Re: Disable pagination in one action

2013-07-04 Thread Eric Haskins
I agree with AD7six why would you need to disable instead of $news = $this->paginate('News'); do this and no paginator $news = $this->News->find('all'); -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message becaus

Re: Disable pagination in one action

2013-07-03 Thread AD7six
On Wednesday, 3 July 2013 10:01:23 UTC+2, Ernesto wrote: > > Hi all > > can i disable pagination just for one action? > If you don't call the component it it's not going to do anything. The helper isn't loaded at all unless the component is used. Why do you "need" to disable it? AD -- Like

Disable pagination in one action

2013-07-03 Thread Ernesto
Hi all can i disable pagination just for one action? i tried $this->Components->disable("Paginator"); $this->Helpers->disable("Paginator"); in my controller's action but the only things i get are errors Thank you -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http: