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