So the best idea would be to alter the Paginator class to suit my
needs?  Any ideas on which vars to alter?

On Dec 17, 1:35 pm, mwcbrent <[email protected]> wrote:
> Sorry!  The actual route code is:
>
> Router::connect('/:slug/pages/*',array
> ('controller'=>'pages','action'=>'index'));
>
> On Dec 17, 1:30 pm, mwcbrent <[email protected]> wrote:
>
> > I've found a handful of posts about this but no solutions that fit my
> > problem.
>
> > In my routes.php I have:
>
> > Router::connect('/:slug/pages/index', array('controller' => 'pages',
> > 'action' => 'index'));
>
> > But when I use the Paginator it only gives me:
>
> > /pages/index:page2
>
> > I'd like to get:
>
> > /myslug/index:page2
>
> > How do I do this without modifying the paginator.php code directly?
--~--~---------~--~----~------------~-------~--~----~
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