The Lithium pagination plugin (Li3 Paginate) is a helper designed to make the pagination of records easier within the Lithium framework.
- Requirements
You may also be required (if you're lazy like me) to either extend the plugin:
- Possibly a bad idea ...
You will also be required to configure your controller action such that the following 3 variables are set namely: `$limit`, `$page` and `$total` as explained below.
- View / Template
- Advanced Settings & Overrides
Note: The configuration options are sticky so once set it will apply to all paginate method calls.
If you want to specify an opening and closing tag for each paginate element it can be defined insdie Paginator.php
Custom URLs can be configured by setting the controller and action settings like so:
will force the generated url to /foo/bar/page:1
Enjoy. Peace.