Look at app/config/routes.php

/**
 * Here, we are connecting '/' (base path) to controller called
'Pages',
 * its action called 'display', and we pass a param to select the view
file
 * to use (in this case, /app/views/pages/home.thtml)...
 */
Router::connect('/', array('controller' => 'pages', 'action' =>
'display', 'home'));

Just connect it to a different controller and action.

Sean

On Feb 17, 9:30 am, UberK <[EMAIL PROTECTED]> wrote:
> Hi, CakePHP noob here. What is the best way to put logic into the site
> index, ie.http://www.website.com/, without redirecting? Is there an
> index controller or something? The default 1.2.0.6311 splash screen
> says I can change the view and layout of the page but gives no
> explanation as to how to tie it to a controller, and I need controller-
> level functionality (check for auto-login cookies etc). Thanks,
> Ken M
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to