Zebra Pagination

Software Screenshot:
Zebra Pagination
Software Details:
Version: 2.2.0 updated
Upload Date: 9 Feb 16
Developer: Stefan Gabos
Distribution Type: Freeware
Downloads: 40
Size: 36 Kb

Rating: 1.0/5 (Total Votes: 1)

The Zebra_Pagination class is a generic system, meant to handle the pagination operations, and not to deal with the data in any way or form.

The class doesn't care what kind of data it paginates, it simply takes the desired number of items and splits the collection into different portions split across a multitude of UI views.

Along with this pagination "process" the class also produces a pager UI widget that contains links to all the paginated views, so users can access the data easily in the frontend.

This pager can be simple numbered links or next/prev links.

The pager component;s UI is also CSS skinnable, and it can be tweaked at will by anyone interested in doing so.

Examples and usage instructions are included with the Zebra_Pagination download package.

What is new in this release:

  • Fixed a bug where wrong class name was used in the JavaScript files;
  • Project is now available on GitHub and as a package for Composer.

What is new in version 2.1.1:

  • Fixed a bug where wrong class name was used in the JavaScript files;
  • Project is now available on GitHub and as a package for Composer.

What is new in version 2.0:

  • Pagination links can now be generated also in reverse order; use the newly added reverse method for that;
  • Everything is now centered by default;
  • Changed the "next" and "previous" icons;
  • Tweaked the CSS file;

What is new in version 1.3:

  • The URL specified through the "base_path" method can now contain query strings; previously query strings in this value got automatically removed; also, any query strings existing in the page's URL were *always* preserved - now the "base_path" method accepts an additional argument to disable this behavior;
  • By also including a newly added JavaScript file, hashes in the URL can now also be preserved; the simple inclusion of the JavaScript file will do the trick; not including it will mean that hashes will not be preserved;

What is new in version 1.2.2:

  • Fixed a bug where query strings got deleted if URLs were SEO friendly.
  • Added a new method for setting whether the script should add a trailing slash to the URLs when generating SEO friendly URLs; read more on the subject on Official Google Webmaster Central Blog.

What is new in version 1.2.1:

  • Fixed a bug that appeared in version 1.2 that would remove all query string parameters from the URL, except the page-related one.
  • When method is "url", the link to the first page does not include the "page" parameter anymore, in order to avoid duplicate content; previously this was true only for when method was "get".

What is new in version 1.2:

  • The link to the first page does not include the "page" parameter anymore, in order to avoid duplicate content;
  • Some optimizations were made in the code;

What is new in version 1.1c:

  • Fixed a bug with the "next" link, when on first page.

What is new in version 1.1b:

  • Fixed a bug where disabling the "next" and "previous" links, when on first or last page respectively, was not working properly.

What is new in version 1.1:

  • Fixed a bug where the "padding" method was not working (thanks to D. Koper for reporting);
  • Fixed a bug where the "set_page" method was not working correctly (thanks to D. Koper for reporting);
  • When there is a single page available, the pagination links are not displayed anymore (thanks to Sebi P. for the suggestion);
  • Default style was tweaked a bit.

Requirements:

  • PHP 5 or higher

Similar Software

CSource
CSource

9 Feb 16

PHP-Loader
PHP-Loader

12 May 15

Other Software of Developer Stefan Gabos

Zebra_cURL
Zebra_cURL

9 Feb 16

Zebra_Pin
Zebra_Pin

13 May 15

Zebra_Accordion
Zebra_Accordion

13 May 15

Comments to Zebra Pagination

Comments not found
Add Comment
Turn on images!