Quantcast
Channel: Comments on: Zebra_Pagination, a generic, Twitter Bootstrap compatible, pagination class written in PHP
Browsing all 97 articles
Browse latest View live

By: Dan

That would be awesome! thank you and great work on this class by the way. I did a lot of searching and this is by far the easiest one I have found to use and implement.

View Article



By: James Stewart

Hey Stefan, I’m looking to construct the links the same way as Roberto (ie. http://example.com/page/1). In fact, I’m trying to get it working with Infinite Scroll. Would you have any pointers for me?...

View Article

Image may be NSFW.
Clik here to view.

By: James Stewart

Update: figured it out more or less, but it just keeps looping through the very last record. Not sure how to stop it doing that

View Article

By: Prince Vert

Hi Stefan, how can I get the “next link” when I have a few reg in my Data Base?? E; I have 100 reg in my data base, so, I show 10 reg per page and the pagination is like this “1 2 3 4 5 6 7 8 9 10″ but...

View Article

By: Prince Vert

sorry about “” is “prev 1 2 3 4 5 6 7 8 9 10 next”

View Article


By: Alejandro

Hi Stefan, thank you for sharing this exelent pagination class. I hope you can help me whit this problem: I have implemented zebra pagination in a page where I show the records from the DB, also I...

View Article

By: Nookie

I’m trying to center $pagination->render(); with css but it’s impossible. Any tips please? instead of the being in left side of page.

View Article

By: Stefan Gabos

for IE8+ and all other browsers it's <pre><code>.pagination { display: table; margin: 0 auto }</code></pre>

View Article


By: suby s surendran

I cant use pagination when uploading in to web server. But it works perfectly on Local host. I get the url like this “http://mysite.com/index.php/4/?admin/location” But i need to get it like...

View Article


By: suby s surendran

finally I ghod the answer. I rewrite ” _build_uri() ” as $urlz=$_SERVER['REQUEST_URI']; $urlz_exolode=explode(‘?’,$urlz); $second_explode=explode(‘/’,$urlz_exolode[1]);...

View Article

By: Carlos

I have the same problem!! Please help me!

View Article

By: Stefan Gabos

you are probably not using “SQL_CALC_FOUND_ROWS” in your query…see the examples

View Article

By: kupupu

can we customize something like this? http://i.imgur.com/fMCwg.png

View Article


By: Stefan Gabos

currently not but those look like valid options so I wrote them down in my todo list but can’t promise you a time frame for that. thanks!

View Article

By: Phil

Thanks for this. It works fine on a normal php page, but I have problems on a page that already passes URL parameters, e.g. somepage.php?mode=list&type=0 The URL returned for these is then...

View Article


By: Phil

Okay, so this site interprets the & amp; entities. I see where the problem is. You have subjected the entire URL to htmlspecialcharacters in _build_uri. This screws up the valid ampersands. It...

View Article

By: Stefan Gabos

i should have used “html_entity_decode()” before “htmlspecialchars()”… i’ll update the script. thank you!

View Article


By: Hanh Phung Van

Thank you for sharing this. But I have a question. The class show only the first page and the last page, after and before three dots. How can I show something like: 1 2 3 4…. 12 13 14 15 16 … 29 30 31...

View Article

By: Stefan Gabos

sorry that is not possible and it is currently not planned for future versions.

View Article

Image may be NSFW.
Clik here to view.

By: Moazam

Very well done! There should have a function for all inputs instead of calling individual functions for setting up pages, total, etc. You know what I mean It could saved couple of lines

View Article
Browsing all 97 articles
Browse latest View live




Latest Images