Yes it did thanks for your help

On Feb 1, 6:57 pm, "dkarlson" <[EMAIL PROTECTED]> wrote:
> Did that solve your problem, Jonathon?
>
> D
>
> On Feb 1, 5:02 pm, "Jonathon Davis" <[EMAIL PROTECTED]> wrote:
>
> > Ok thanks guys
>
> > On Feb 1, 3:36 pm, "dkarlson" <[EMAIL PROTECTED]> wrote:
>
> > > Nate, I remember you saying that in an earlier post. I even changed my
> > > code to reflect it, but failed to do so here.
>
> > > Is that what you mean?
>
> > > $paginator->prev('Previous', array('url' => array($config['Config']
> > > ['id'])), null, array('class' => 'disabled'));
>
> > > D
> > > On Feb 1, 2:23 pm, "nate" <[EMAIL PROTECTED]> wrote:
>
> > > > K, here's a hint:  if you're going to pass URL parameters to
> > > > Paginator, do it as an array.
>
> > > > On Feb 1, 3:03 pm, "dkarlson" <[EMAIL PROTECTED]> wrote:
>
> > > > > OK -- I don't know if this is going to help or not, but I'll give it a
> > > > > shot.
>
> > > > > I needed an id passed with each pagination link, and this is how I did
> > > > > it.
>
> > > > > <?php echo $paginator->prev('Previous', array('url' =>
> > > > > $config['Config']['id']), null, array('class' => 'disabled')); ?>
>
> > > > > So I get URLs like this:http://localhost/site/projects/add/
> > > > > e28b591a-7858-bca4-1d27-839b9370b31a/page:3
>
> > > > > my function add($id = null) can now parse the id no matter what page
> > > > > I'm on.
>
> > > > > You can see between the "add" and the "page:3", I have an id.
> > > > > On Feb 1, 1:11 pm, "Jonathon Davis" <[EMAIL PROTECTED]> wrote:> Help?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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