I use AD7six's pagination helper/component, and it works great! But
right now I'm changing the default routes, so the user's sitename
comes before every controller->action.

Like this:
 $Route->connect("/:sitename/posts/edit/*", array("controller" =>
"posts", "action" => "edit"));

This works fine for most controllers/actions, but I can't seem to
"resurrect" the pagination part in this new setup.

Right now I have the routing for the pagination like this:
$Route->connect("/:sitename/Posts/index/page/*", array("controller" =>
"posts", "action" => "index"));

But this way, I get the first "posts" page on every pagination link I
click. How can I make sure the pagination works again?


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