Hi,
I also needed to paginate custom queries and decided to make my own
pagination which turned out to be easier than I thought, after all
pagination is just adding LIMIT x,y to your query and determining x
based on your current page. I wrote some global functions for all my
pagination needs and now need about 5 lines of code per paginated
action. If the hack above doesn't help you (I couldn't use it because
I have various types of pagination on the same model) I can send my
code if you want.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---