different pagination across views (not controllers)
different pagination across views not controllers
Tue, 11 Jan 2011 09:07:58 -0800 PST
Hi, im sure this is a simple question but i can't find any docs
related to this...
I have multiple views coming from one controller (as normal)
I would like to paginate them differently in each view.
say view a, b, and c, are paginated ASC and view d, and e, are
I have in my controller at the top the var $paginate with order
this seems to effect ALL uses of the $this->paginate across any views
associated with the controller.
How do I get them to act independently?
I already tried removing it from the top and adding it in each
function but that didnt work.
I also tried adding 'order' to the actual paginate (find) query and
that does not work either...
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at