CakePHP Tip – Creating static page

There is an easy way of creating a static page in CakePHP. This tip allows also to create non-authenticated pages among applications that needs authentication. For the purpose of this example, we will create a static page 1. Go to /app/config/routes.php, and add this line: Router::connect(‘/about’, array(‘controller’ => ‘pages’, ‘action’ => ‘display’, ‘about’)); 2.

Continue Reading →