Hello
-- I have a model whose controller serves many pages using normal paginate.
Now I need to use a custom query and cannot use the normal find method (or I am not able to)
But I do not know how to paginate.
The query is something as follows:
The cookbook suggests to override the paginate method, but this would mess up everything in many other views
How can I paginate the custom query?
Thanks.
N.
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment