Hi,
I am so sorry but I am still lost in this router stuff...
To handle my static pages I call this:
Router::connect(
'/:pagename',
array(
'controller' => 'pages',
'action' => 'display'
),
array(
'pagename' => 'page1|page2|page3',
'pass' => array(
'pagename'
)
)
);
This works so far.
But I also want to use this to change language files:
Router::connect('/:lng/*', array(
'controller' => 'p28n',
'action' => 'shuntRequest',
'lang' => '[a-z]{2}'
));
How can I make a separation between the static pages stuff and the
language change?
Please advice!
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php