How to use Zurb Foundation Pagination in CakePHP 2.x

The code below is a simple snippet that will allow you to implement or use Zurb Foundation pagination in CakePHP 2.x.

How to use Zurb Foundation Pagination in CakePHP 2.x

Create a new element and name it pagination.ctp. Copy the code below to pagination.ctp

Use the element you created by invoking

to any view that has a pagination involved.

Note: You have to include the Zurb Foundation Pagination CSS in order for this to work.

Sharing is caring!