Just do it: http://api21.cakephp.org/class/paginator-component#method-PaginatorComponentpaginate look what you can pass as $object Param (i.e: Category.Post). in $scope set proper conditions (like 'Post.category_id' => $id).
Hafe fun reading docs : http://book.cakephp.org/2.0/en/core-libraries/components/pagination.html On Friday, December 7, 2012 2:58:07 PM UTC+1, Salines wrote: > > *Category HABTM Post, find results by selected category and show related > posts and paginate by posts?* > > Another day, another problem. > When Selecting one category, output will show properly related posts. > > But the post results need to use pagination. > How? > > Thanks > -- 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 post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php?hl=en.
