p. Chris Hartjes has posted a new CakePHP tutorial on his blog titled “Custom CakePHP 1.2 Pagination Queries”:http://www.littlehart.net/atthekeyboard/2008/03/04/custom-cakephp-12-pagination-queries/. If you work with “CakePHP”:http://cakephp.org/, you are going to want to take a look at this.
bq. As amazing as the built-in CakePHP pagination helper is, sometimes you have to create your own custom queries for data you wish to paginate. For the simulation baseball league site I wanted to be create an admin area where I could paginate through the series instead of individual games.
p. Chris goes on to give the code necessary to demonstrate the technique he describes. As with all of Chris’ tutorials, this one is clear, easy to read and straight to the point.