Demo page:

http://jdphotographer.co.uk/v2/portfolio

I am using pagination to show the thumbs at the bottom of this page
and the following to echo my 'next' link

$paginator->next('>>', array('tag'=>'li', 'class'=>'nav next'), null,
null);

Rather than producing:

/v2/portfolio/page:2

This is producing:

/v2/(home|about-us|portfolio|art-prints|links|contact)/page:2

Which is getting pulled from my routes using Router::url called by 2nd
line of Html::link

Router::connect('/', array('controller' => 'pages', 'action' =>
'display', 'home'));
Router::connect('/login', array('controller' => 'users', 'action' =>
'login'));
Router::connect('/logout', array('controller' => 'users', 'action' =>
'logout'));
Router::connect('/(home|about-us|portfolio|art-prints|links|contact)',
array('controller' => 'pages', 'action' => 'display'));
Router::connect('/(home|about-us|portfolio|art-prints|links|contact)/
*', array('controller' => 'pages', 'action' => 'display'));

Are my routes incompatible, or is there a bug here?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to