Thanks.

On Aug 25, 12:59 am, clemos <[EMAIL PROTECTED]> wrote:
> Hi
>
> You need to set the "url" option of the paginator, by writing this
> kind of code on top of your view (before the paginator links are
> generated)
> <? $paginator->options(array("url"=>"/categories/view/".$category_id)); ?>
>
> +++++++
> Clément
>
>
>
> On Sun, Aug 24, 2008 at 6:33 PM, itsnotvalid <[EMAIL PROTECTED]> wrote:
>
> > I have made an app using pagination. Recently I discovered that the
> > links generated isn't valid for some use.
> > e.g.http://example.com/categories/view/1is the page refering to
> > using 'categories' controller's 'view' action, listing information for
> > category_id = 1.
>
> > Now I want to apply pagination for this page, using $paginator-
> >>next(), but the link points tohttp://example.com/categories/view/page:2
> > which is not what I really wanted. What I want is something like
> >http://example.com/categories/view/1/page:2.
>
> > How can I achieve this?
--~--~---------~--~----~------------~-------~--~----~
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