> I think, you're missing something > (http://groups.google.com/group/cake-php/msg/60f9b49f7209d8b9 ) It's one of > the craziest thing in > automagic.
Wow, you're right, I really was! So you can link to, for instance, /items/index/article:3 in order to list (paginated) all items belonging to article 3. All that's necessary is for the controller to include a line like: $paginatedList = $this->paginate(NULL, array('Item.article_id' => $this->params['named']['article'])); I've just tried this on my new project, and it's great! The only problem I've got is that the "prev" and "next" links don't include the article:3 parameter. Is there something obvious I'm missing? Anyway, yes, ignore my previous advice and go with what R. Rajesh Jeba Anbiah said. :) Thanks, Zoe. --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---