Hi,
I have an up and running site that I built using PhpRunner Version 5.2 and it's going very well.
Recently one of the databases has exceeded 100 items - and with the Records per Page set at 10,
the Pagination has changed from a simple page listing like this:
[ 1 2 3 4 5 6 7 8 9 10 ]
to a, what I think, is a more confusing layout:
[ 1 2 3 4 5 6 7 8 9 10 ] Next : Last
Followed by:
First : Previous [ 11 ]
Where the Next or Previous links show the next 10 or previous 10 pages.
This exact same issue was addressed in 2008 here:
http://www.asprunner.com/forums/topic/8544-pagination-links-for-next-and-previous/pagehlpaginationfromsearch1
I tried modifing the WritePagination function in the include/jsfunctions.js file with Jane's code without any success - Probably because it's written for a different version of PHPRunner(?)
The best solution for me would be if the page count would just grow without the need for Next, Last, Previous.
So that it would look like this, for example:
[ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ]
Perhaps, instead of kicking in after reaching 100 records, the pagination's Next,Last,Previous feature could be made to change after, for example, 100000 records and therefore, for all practical purposes, never change.
Any help on this would be greatly appreciated.
Thanks