how to edit custom pagination 4.3.2 like this |
can you show me how to edit custom pagination 4.3.2 show like
Code: <div align="center" id="pagination_link"> i custom this but dont work next last CONTROLLER PHP Code: $page=$uri->getSegment(3); PHP Code: <?php thank you for watchinh i dont know how to do correctly or not but work for me. so i note again someone i need i edit custom my pagination below: PHP Code: <?php
Please Read:
CodeIgniter 4 User Guide - Library Reference - Pagination - Customizing the Links Here is an Example for Bootstrap 5.3.0. Folders Views/Pager/bs_full nad bs_simple. app/Views/Pager/bs_full.php PHP Code: <?php PHP Code: <?php PHP Code: <?php What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(03-04-2023, 12:32 AM)InsiteFX Wrote: Please Read: I have also asked a question similar to this. Here is the link. https://forum.codeigniter.com/showthread.php?tid=87169 But how to ovverride $pager->getFirst() and $pager->getPreviousPage() method to check if page is first page i.e. no 1, and if condition is matched, do not add the page number to url. For example, http://example.com/post/page/1 convert to http://example.com/post. |
Welcome Guest, Not a member yet? Register Sign In |