Re: Help on Routes, should we use it ?

2010-12-31 Thread John Maxim
Thanks..wow, cricket your explanation is way advanced for me. But I got the concept...thanks everyone. regards, Maxim On Dec 29, 10:29 am, cricket wrote: > On Tue, Dec 28, 2010 at 10:14 AM, John Maxim wrote: > > Refer to link below: > >http://book.cakephp.org/view/1541/Routes > > > I don't unde

Re: Help on Routes, should we use it ?

2010-12-28 Thread cricket
On Tue, Dec 28, 2010 at 10:14 AM, John Maxim wrote: > Refer to link below: > http://book.cakephp.org/view/1541/Routes > > I don't understand. What does it accomplish ?? > > Do we normally change the route as shown from the link above ? Cake's routes default to: /controller/action/param So, if

Re: Help on Routes, should we use it ?

2010-12-28 Thread Vivi Vivi
It's simple, If you want to have the the page: http://www.example.com/testpage.html which goes to controller pages_controller and function check(). You need to do: Router::parseExtensions('html'); Router::connect('/testpage', array('controller' => 'pages', 'action' => 'check')); or Router::conn

Help on Routes, should we use it ?

2010-12-28 Thread John Maxim
Refer to link below: http://book.cakephp.org/view/1541/Routes I don't understand. What does it accomplish ?? Do we normally change the route as shown from the link above ? Thanks, Maxim J. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related qu