![]() |
pagination "View all" link - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: pagination "View all" link (/showthread.php?tid=39358) |
pagination "View all" link - El Forum - 03-08-2011 [eluser]voxy[/eluser] Hi, It is possible to add a "view All results" link after or before the << First 1 2 3 Last >> links of the pagination? I tried some thing like : // in controller (search) : Code: if(uri_string()=='/search/results/all'){ Code: echo $pagination .' '. '<a href="/search/results/all">View all results</a>'; // actualy, I used the function href() like: a href="'.href("/search/results/all").'" it didn't work otherwise Code: echo $page['pagination'] Does anyone knows a better way? pagination "View all" link - El Forum - 03-08-2011 [eluser]cmgmyr[/eluser] Feel free to check out my Pagination Library, it has a "View All" option along with some others. |