Thanks for your answer, but that wasmt working. I found the solution: paginator->options ( 'url' => array ($this->passedArgs, '?' => 'for='. $toSearch));
... if you want url's with anchor, then use: paginator->options ( 'url' => array ($this->passedArgs, '?' => 'for='. $toSearch, '#' => 'anchor_name')); Regards! claudio. On Nov 28, 8:46 pm, Dave <[email protected]> wrote: > 'url'=>$this-params should do it. Is this what you tried originally? > > On Fri, Nov 27, 2009 at 5:22 AM, Mono <[email protected]> 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 sitehttp://cakeqs.organd 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 [email protected] > > To unsubscribe from this group, send email to > > [email protected]<cake-php%[email protected]>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 [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
