pagination "View all" link |
[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?
[eluser]cmgmyr[/eluser]
Feel free to check out my Pagination Library, it has a "View All" option along with some others. |
Welcome Guest, Not a member yet? Register Sign In |