![]() |
Pagination Style - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Pagination Style (/showthread.php?tid=58988) |
Pagination Style - El Forum - 08-12-2013 [eluser]Uresh Patel[/eluser] Respected, I have successfully created CI's default Pagination functionality and working fine. But i want to put pagination with some different style.I am attaching the style with this.experts please have a look and let me know is it possible to perform like this in CI ? Thank You, Uresh Patel Pagination Style - El Forum - 08-12-2013 [eluser]Uresh Patel[/eluser] HI, i found little help for Hiding the Pages. If you wanted to not list the specific pages (for example, you only want "next" and "previous" links), you can suppress their rendering by adding: $config['display_pages'] = FALSE; Ya i move ahead but new issue with is. I have front end website layout have different pagination style. I have admin panel end layout have different pagination style from front end. How to configure both differently. ????????? Pagination Style - El Forum - 08-12-2013 [eluser]noideawhattotypehere[/eluser] Code: $config['base_url'] = 'http://example.com/index.php/test/page/'; and see whats configurable, you can add classes etc to diffrent elements then style them with css. Pagination Style - El Forum - 08-12-2013 [eluser]Uresh Patel[/eluser] I solve issue by doing like ....create a separate method for Admin pagination and will call to every method where it required. Code: function paginationConfig($total_rows,$uri_segment,$base_url){ |