Monday, August 30, 2010

Re: Routes / Pagination

Don't quote me on this, but no I do not think you can do that... with
the Pagination/Paginator classes.

You could most likely do this with a lot of custom work on your end,
but it is possible.

On Aug 30, 9:07 am, "Dave Maharaj" <m...@davemaharaj.com> wrote:
> 2 questions I cant seem to figure out
>
> I was wondering how to remove  index/page:2 from the url =>
> [controller]/index/page:2 so it looks like [controller]/2
>
> And then is it possible to make pagination like that on the pirate bay where
> the url look like [controller']/0/99/0 where I am assuming page 0 / ending
> on record 99 / starting on record 0 ?
>
> Ideas?
>
> Thanks
>
> Dave

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: