Re: How to paginate HABTM results?????????

2007-10-17 Thread DGPhoebus
Alright the good man Daniel Hofstetter of cakebaker.42dh.com posted a solution for me after I had asked him the same question. Here is the link: http://cakebaker.42dh.com/2007/10/17/pagination-of-data-from-a-habtm-relationship/ Hope this helps all who might need it. Daniel On Oct 15,

How to paginate HABTM results?????????

2007-10-15 Thread DGPhoebus
Okay I have a Products table, a Categories table and a Categories_Products join table. A HABTM relationship has been defined. So when I hit /categories/view/4 I get the Category definition pointed to by $id=4 and all the products assigned to category #4. How do I paginate the products?

Re: How to paginate HABTM results?????????

2007-10-15 Thread Wayne Fay
Read this thread: Pagination for model with association (cake 1.1) Wayne On 10/15/07, DGPhoebus [EMAIL PROTECTED] wrote: Okay I have a Products table, a Categories table and a Categories_Products join table. A HABTM relationship has been defined. So when I hit /categories/view/4 I

Re: How to paginate HABTM results?????????

2007-10-15 Thread rtconner
What version of cake? Nate left this code for 1.2: http://bin.cakephp.org/saved/21687 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com

Re: How to paginate HABTM results?????????

2007-10-15 Thread DGPhoebus
Sorry for leaving that part out. the Cake version is 1.2. Thanks guys. On Oct 15, 7:08 pm, rtconner [EMAIL PROTECTED] wrote: What version of cake? Nate left this code for 1.2:http://bin.cakephp.org/saved/21687 --~--~-~--~~~---~--~~ You received this