-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bootstrap 4 compatibility #17
Comments
We need bootstrap 4 pagination list item classes - should be easy to add. https://www.w3schools.com/bootstrap4/bootstrap_pagination.asp |
For Bootstrap 4 You Need to update css classes edit Paginator.php file look for toHtml() function comment the old function or replace the function with code below :)
|
@gorkijatt this is a great solution but the main master repository needs to be updated with this somehow - not sure if the author is still actively updating this library. my solution was using jquery, sort of a temporary bandaid until we can pull the next updated version.
|
@markifornia that was clean. |
@gorkijatt we might need to maintain this library if the author isn't active. |
Okae i m in. |
Replace the toHtml method with this one for bootstrap 4.1 with the breakpoints for the small template.
|
Any update? |
I am trying to implement this class with mysql but no luck so far, can anbody help? |
Because the maintainer seems has gone away, i cloned this repo and add feature of bootstrap-4. Is here https://github.com/alexSivka/php-paginator . composer require sivka/paginator |
@alexSivka thank you for taking this package in under your wings. I'll be sure to note any issues/feedback. Cheers |
I saw there's a pull request that failed, would like to revisit this. Basically just need a couple new classes. #15 Thanks!
The text was updated successfully, but these errors were encountered: