Re: How to modify the URLs of $paginator-numbers

2009-07-30 Thread jordicakephp
Thanks a lot for your reply, JamesF. :-D I had written this in my routes.php: Router::connect('/countries/france/list', array('controller' = 'france', 'action' = 'list')); Insted of: Router::connect('/countries/france/list/*', array('controller' = 'france', 'action' = 'list')); Regards.

Re: How to modify the URLs of $paginator-numbers

2009-07-30 Thread JamesF
doh! On Jul 30, 4:52 am, jordicakephp jordicake...@gmail.com wrote: Thanks a lot for your reply, JamesF. :-D I had written this in my routes.php: Router::connect('/countries/france/list', array('controller' = 'france', 'action' = 'list')); Insted of:

How to modify the URLs of $paginator-numbers

2009-07-29 Thread jordicakephp
Good morning everybody, I've organized my controllers in a manner similar to the following: /countries /africa /america /europe /france /italy /spain And I've created them in their respective folders. Consequently, I've

Re: How to modify the URLs of $paginator-numbers

2009-07-29 Thread JamesF
in your routes config //put this after your defined routes so the router knows you are passing page numbers like /url/page:2 /url/page:3 etc Router::connectNamed(array('page')); if you do not specify this your paginated urls will default to / controller/action instead of your fancy route.