Hey guys, I can't seem to get this to work :-( . I currently have the following route set up for my categories pages, which works great:
//Categories page route (example: http://www.mydomain.com/category_name_here-id) Router::connect('/:name-:id', array( 'controller' => 'categories', 'action' => 'view' ), array( 'name'=>'(.*)', 'id' => '[0-9]+' ) ); Except for the fact that I cannot get my pagination URL's to properly display for this custom route. I have the following set up for my pagination options url: $paginator->options( array( 'url' => array( 'controller'=>'catgories', 'action'=>'view', 'name'=>$html->slugify($category['Category']['name']), 'id'=>$category['Category']['id'] ) ) ); Which displays the URL's like "http://www.localhost.com/categories/ view/7/page:2/name:pcs", instead of "http://www.localhost.com/pcs-7/ page:2". Any help is appreciated. Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
