You might also find the routing documentation in the manual
illuminating.

I solve much of this by creating a Home_controller ; Home_controller-
>uses = FALSE, and all the view stubs I want are in the views/home/
directory.

For instance the site root '/' is mapped to '/home' via routing, and
handled by a method index() within Home_controller and a view
'index.thtml' within '/views/home'.

Similarly I use Cake's admin model and the landing page of admin/ is
mapped to /admin/home, handled by Home_controller->admin_home(), and
the view file /views/home/admin_home.thtml.

On Dec 20, 7:40 am, Yankee <[EMAIL PROTECTED]> wrote:
> Check your web server configuration file.
>
> On Dec 19, 10:09 pm, effour <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I had a developer create a site for me a year or so ago.
>
> > I cannot figure out how to add a simple page to the root of the site.
> > Everything seems to be redirected and there are views and webroots and
> > pages and i'm going nuts!
>
> > How do I find the actually find the root of the site? i just want to
> > add a page.
>
> > any help would be appreciated.
>
> > Thx.
--~--~---------~--~----~------------~-------~--~----~
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