So I have just about finished hand-coding my first-ever Pagination module. (It was much easier than I thought!!)
But I have one lingering issue…
What Pages should I display in my Navigation Bar??
Here is what I currently have…
Nice & Easy, right?!
But what should I do if there are even more Pages like here…
Or let’s say there are TONS of Pages…
(**Note: I am NOT using JavaScript, so please leave that out of the discussion!!)
There seems to be a million different ways to do things, and it sure would be helpful to get some feedback and suggestions from you gurus out there.
For my Messages, this issue isn’t that big of a deal, because I am limiting people to 100 Messages per Account, and displaying 10 Messages per Page, so my last two examples above wouldn’t really ever happen.
However, for something like Forums or Product Searches, there could be hundreds of pages, so I need to add additional functionality to my current Pagination module to handle things when there are 20, 30, 100, or 500 pages!!
Here is hoping this last bit won’t be too extra hard?!
Sincerely,
Debbie
P.S. It would be helpful to also mention whether you like having “First”, Previous", “Next” and “Last” buttons in addition to the Page #'s themselves!!