I have admin page (admin_view.ctp) and public page(view.ctp) in one
controller.

In admin page, I want to list 50 products in each page but in public
page, I want to show 8 products every page.
How can I set limit number for paginate to each function in same
controller??

I can't use "var $paginate = array('limit' => 8);" because this code
effect to admin_view page.



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to