Thanks for your answer! But it doesn't works...
I tried with:

$paginator->options (array ('url' => $this->passedArgs));
and
$paginator->options (array ('url' => array_merge ($this-
>passedArgs)));

$this->passedArgs contains my article_history_id (56)
but in both cases, for the 2nd page, the url looks like:

.../article-history/view/56/page:2/56/page:2

If i leave the $paginator->options () void, the urls looks like:

.../article-history/view/56/page:2/page:2

any idea?

Thanks again and best regards!
claudio.


On Nov 30, 11:41 am, "Bogdan I. Bursuc" <[email protected]>
wrote:
> Do you have merge in the view your url params with the PaginatorHelper ?
>
> Something like this ?
> $paginator->options('url'=>array_merge(array('lang'=>$lang),
> $this->passedArgs));
>
> On Mon, 2009-11-30 at 01:22 -0800, Mono wrote:
> > Somehow the url's for my paginations looks like:
>
> > .../articles/page:2/page:2
> > .../articles/page:3/page:3
> > ....
>
> > After I click on next page, they looks like:
>
> > .../articles/page:2/page:2/page:2
> > .../articles/page:3/page:3/page:3
> > ....
>
> > My controller:
>
> >    function articles ($id = null)
> >    {
> >            $this->paginate['Article'] = array
> >            (
> >                    'conditions' => array ('Article.id' => $id),
> >                    'contain' => array
> >                    (
> >                            'Tag',
> >                            'User' => array
> >                            (
> >                                    'fields' => array ('id', 
> > 'use_status_id', 'firstname',
> > 'lastname', 'avatar'),
> >                                    'UseStatus'
> >                            )
> >                    ),
> >                    'order' => array ('Article.created DESC'),
> >                    'limit' => 10,
> >                    'page' => 1
> >            );
>
> >            $this->set ('results', $this->paginate ('Article'));
> >    }
>
> > The view:
>
> > ....
> > ....
> > <?=$paginator->numbers ()?>
>
> > How can I fix it? I'm using CakePHP 1.2.5
>
> > Thank a lot for any hint!
>
> > 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] For more options, visit this group 
> > athttp://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

Reply via email to