Hi all.

This is my situation.

I have a ready element to display a pagebar (paginator.ctp) who does
make use of $paginator object to display page links, accessing
$paginator->params().

On the other hand, I have a full-custom sql query to gather the rows
to display ("select ... where ... limit ...") and I have to stick with
it. I also have $page, $perpage, $npages scalar information.

My question is: how do I pass that information ($page, $perpage, ...)
to the $paginator object in the controller (?) so that the pagebar is
displayed correctly?

(if you're wondering, yes I've started learning CakePHP only a week
ago, so I'm still a beginner)

Thanks for any tips anyone could give me.

--~--~---------~--~----~------------~-------~--~----~
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