Basically I have a pages model which includes a pemalink field - so
when a record is stored in the db, an "About Us" title would become
"about-us" permalink. I would like to access pages such as http://server/about-us.
I've set up a route like:
Router::connect('/*', array('controller' => 'pages', 'action' =>
'view'));
and this work. However, as a result of this route, I'm unable to
access anything else in my app! Would I have to create routes for
everything else prior to this route to allow this to work?
Thanks in advance,
Alastair
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment