Re: pagination issue in 1.2

2007-03-05 Thread Preloader

Hello,

this issue seemed to be fixed with  nightly build 1.2.x.x_04.03.2007,
yeah, yeah, yeah ... :-)

Thank you very much!

Greets, Christoph


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: pagination issue in 1.2

2007-02-23 Thread Cynthia

Have you tried another nightly build?

Try getting this to work in a completely clean view. There has go to
be something else intefering.

On Feb 22, 12:54 pm, "isk" <[EMAIL PROTECTED]> wrote:
> CAN  ANYBODY HELP?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: pagination issue in 1.2

2007-02-22 Thread isk

CAN  ANYBODY HELP?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: pagination issue in 1.2

2007-02-22 Thread isk

this does not help too :) parameters still repeated.

On Feb 22, 1:19 am, "Cynthia" <[EMAIL PROTECTED]> wrote:
> Try it with:
>
> var $paginate= array( 'limit' => 2);
>
> I don't set any page value and it works *great* for me :)
>
> On Feb 21, 3:34 pm, "isk" <[EMAIL PROTECTED]> wrote:
>
> > thanks Preloader, I saw your trick in the groups - but it does not
> > work for me (I use
> > 1.2.0.4451alpha), parameters stay repeated even I do unset($this-
>
> > >params['pass']['page']) in the view before all paginator calls.
>
> > when I add  filtering parameters by array('url' => $this->params['pass']) 
> > my links does not work at all - they repeat all
>
> > parameters twice (like page:1page:1.. and so on), so links become
> > twice longer :)
>
> > but when I do your trick in the view - it makes links working (though
> > they are ugly)
>
> > Thanks.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: pagination issue in 1.2

2007-02-21 Thread Cynthia

Try it with:

var $paginate = array( 'limit' => 2);

I don't set any page value and it works *great* for me :)

On Feb 21, 3:34 pm, "isk" <[EMAIL PROTECTED]> wrote:
> thanks Preloader, I saw your trick in the groups - but it does not
> work for me (I use
> 1.2.0.4451alpha), parameters stay repeated even I do unset($this-
>
> >params['pass']['page']) in the view before all paginator calls.
>
> when I add  filtering parameters by array('url' => $this->params['pass']) my 
> links does not work at all - they repeat all
>
> parameters twice (like page:1page:1.. and so on), so links become
> twice longer :)
>
> but when I do your trick in the view - it makes links working (though
> they are ugly)
>
> Thanks.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: pagination issue in 1.2

2007-02-21 Thread isk

thanks Preloader, I saw your trick in the groups - but it does not
work for me (I use
1.2.0.4451alpha), parameters stay repeated even I do unset($this-
>params['pass']['page']) in the view before all paginator calls.

when I add  filtering parameters by array('url' => $this-
>params['pass']) my links does not work at all - they repeat all
parameters twice (like page:1page:1.. and so on), so links become
twice longer :)

but when I do your trick in the view - it makes links working (though
they are ugly)

Thanks.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



pagination issue in 1.2

2007-02-21 Thread isk

I have this code in the AgentsController
var $paginate = array('limit' => 2, 'page' => 1);
...
function index() {
..
$this->set('table', $this->paginate('Agent'));
..
}

and this in the view:

prev('<< Previous', null, null, array('class' => 'nav-
dis')) ?>
|next('Next >>', null, null, array('class' => 'nav-
dis')) ?>

on the first page I get next link as action/page:2 - what is correct,
but on second page prev link generates as action/page:1page:1 (page
parameter repeated)

No extra code related to paginator.
Any thought ?
Thanks.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---