I am using Cake's PaginateHelper when showing a listing of bands on my site. So right now, at the bottom I have the page number 1|2|3...
What I would like to do is have the page links turn into alphabetical ranges. I know I can get the Paginator to show the alphabet and sort by that, i.e. A|B|C... But that's not what I want. For example, if the bands on the first page start with the letters A up to G, the second page contains H up to S, and the third has T through Z, I would like the links to be: A-G | H-S | T-Z But I would like these letters to be found dynamically so that since I declare that I only want 12 bands per page and at the moment the links look like above, if I were to add 5 more bands starting with A, the links would automatically change to accomodate for the shift in ranges. I hope this makes any sense. It may not be something I can use the Helper with, but if anyone has any basic ideas on how this could be accomplished, that would be truly helpful. THANKS --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
