Saturday, November 28, 2009

Re: Pagination with GET params

'url'=>$this-params should do it.  Is this what you tried originally?

On Fri, Nov 27, 2009 at 5:22 AM, Mono <sirmonithor@gmail.com> wrote:
HI!

My URL loos at the moment like this:
.../articles/search?for=google

And for the second page from the pagination it should looks like:
.../articles/search/page:2?for=google

But at the moment it looks like this:
.../articles/search/?for=google/page:2

How should the $paginator->options (array ('url' => 'XXX')); looks
like to build the URL i want?


Thanks a lot!
mono.

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

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: