Pagescontroller is the default controller. If you want to use your own
controller/action for the default route (/) you should change it in the
app/config/routes.php file.

More info in the Section 3 of configuration chapter of cakephp manual..

http://manual.cakephp.org/chapter/configuration


Christoph yazdı:
> > What's the best way to accomplish this?I'd stick that sort of stuff in 
> > AppController (/app/
> > app_controller.php) as class variables or methods, or in /app/config/
> > bootstrap.php.
>
> What's the controller that's using the view
>
> webroot/views/pages/home.thtml
>
> ?
>
> There are other models/controllers that I would like to use on my home
> page.  News, for example.  Is there any way to do this?  Or am I going
> to have to set up my own HomePageController and set up index.php to
> redirect to /homepage?
> 
> thnx,
> Christoph


--~--~---------~--~----~------------~-------~--~----~
 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