@Yves: People keep recommending paginaton along with CakeDC's searchable plugin. If you take their advice and go and read the associated documentation you should easily be able to figure this out for yourself.
At present you have still not got your head around the fact that you only need to run $this->paginate() and it returns BOTH the limited results you requested AND supply's the paginate helper with all the info it needs to create pagination links. Please go back and read the very good documentation because a lot of people have been trying to support you with this for over 3 weeks now and you're making very little progress, even though the procedures involved are relatively simple. http://book.cakephp.org/view/1231/Pagination https://github.com/CakeDC/search HTH, Paul. On Nov 2, 4:13 am, rchavik <[email protected]> wrote: > On Wednesday, November 2, 2011 10:29:04 AM UTC+7, Yves S. Garret wrote: > > > Where should the processing happen, controller or view? > > Controller. See:http://book.cakephp.org/view/1232/Controller-Setup > > > Also, why is the second provider started with an upper-case letter? > > I assume you're referring to: $this->set('provider', $this->paginate(* > 'Provider'*, $conditions)); > > See:http://api13.cakephp.org/class/controller#method-Controllerpaginate -- 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
