Dear Andy,

You mean you view the Category and want to see and paginate the
related products?

-> yeah , exactly~

Easiest way it to make /products/byCategory/$catId work. I.e. display
in that page the Category details and then do exactly the same as you
would with the index.

-> Do you mean that I should~

1> create new function byCategory in the products model
2> do pagination for the return products
3> get the catid from the category model.
4> put the web link ( /products/byCategory/$catId) in the view of
Category
5> have the result in the view of Products

I will try my best to work on it....Thanks for the direction~
Will share with you all if I get it done~

Again, Million Thanks






--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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