[eluser]gh0st[/eluser]
I have a pagination which lists 10 on each side, however it gets very unwieldy when it has 200 results;
Quote:First | « Previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | *10* | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | Next » | Last
I want to restrict the pagination to say 10 pages between any range e.g
Quote:« PREV 1 2 3 4 5 6 7 8 9 10 NEXT », and for example
« PREV 230 231 232 233 234 235 236 237 238 239 240 NEXT »
So, in other words only ever show a range of 10 links.
Am I right in thinking that changing $config['num_links']= 5 will be the best way to ensure that only a range of 10 are shown?
Thanks.