CakePHP: Custom routes and pagination


In CakePHP it is pretty easy to change the way that users reach to a specific action to another beautiful URL for ex: you may have a page that contains category details, and users reach to it via: http://domain.com/categories/view/id controller is "categories", action is "view", and it takes 1 parameter id and you may want … Continue reading CakePHP: Custom routes and pagination

CakePHP max number of fetched row on pagination


By default, the maximum number of fetched rows on pagination is set to 100 rows, whatever number of rows higher than it you assign it to the "limit", property, it will not affect, but you can adjust it as part of the pagination options: public $paginate = array( // other keys here. 'maxLimit' => 10 ); … Continue reading CakePHP max number of fetched row on pagination