Author Topic: help with cakephp  (Read 578 times)

0 Members and 1 Guest are viewing this topic.

Offline doug007Topic starter

  • Enthusiast
  • Posts: 62
    • View Profile
help with cakephp
« on: April 06, 2009, 05:25:50 AM »
Hi Guys,

I am new to cakephp and have spend hours reading up on it trying to get something done at no joy.  Of what appears relatively simple is actually proving complex. 

I have cakephp installed on a directory serving a website.  now all i want to do is add another folder lets say "test" and serve a new web site from there.  so when you type www.example.com/test it serves the new site in depended from the existing one.  But I'm having no joy in accomplishing this.

Any help would really be much appreciated.

Cheers

Offline fabrydesign

  • Enthusiast
  • Posts: 77
  • Gender: Male
  • FD
    • View Profile
    • fabrydesign
Re: help with cakephp
« Reply #1 on: April 06, 2009, 07:23:50 PM »
As far as I know, all you can do is put a second installation of CakePHP in the new folder if you want an independent site.

Offline jcombs_31

  • Guru
  • Addict
  • *
  • Posts: 2,426
    • View Profile
    • My Blog
Re: help with cakephp
« Reply #2 on: April 16, 2009, 02:12:22 PM »
What you are trying doesn't make much sense.  Why bother with a framework if you don't want to utlize the MVC?  Cake will write urls based on your application. You may be able to play around with app>config>routes, but by what you are trying will tell cake to look for the test controller which doesn't exist.