Friday, December 31, 2010

Re: Urgent Help: Path for Production environment..

This is the standard way of doing things. The /cake/libs folder contains /controller/pages_controller.php and /views/pages/home.ctp that provide the default home page. There is also a default layout. You should never adjust these as it breaks the upgrade path, but one of the first things you should do when developing an app is to copy these into the /app directory and customise as you wish (although I tend to leave the controller as and where it is). Then you can create your own css stylesheet and replace the default Cake one in the default layout and your site starts to like like your own.

Jeremy Burns
Class Outfit

jeremyburns@classoutfit.com
http://www.classoutfit.com

On 1 Jan 2011, at 04:31, John Maxim wrote:

> Since I found a solution, share this if someone facing this too it may
> help..
>
> not sure if it's exactly suggested production setting (installation)
>
> I copied and pasted home.ctp from cake/ to my app/views/pages
>
> from here I edit the home.ctp and works fine.
>
> reference: IRC cakephp user: know1edge
>
> Regards,
> Maxim
>
> On Dec 31 2010, 10:22 pm, John Maxim <goog...@gmail.com> wrote:
>> Hi people,
>> I need this solved, help if you can. how exactly do I start my page at
>> localhost/ without displaying Cake's system info page..?
>> Rgds,
>> Maxim
>>
>> On Dec 31, 9:00 pm, John Maxim <goog...@gmail.com> wrote:
>>
>>> Hello everyone,
>>
>>> My index now is in my root */www/
>>
>>> Anyone knows how to remove the cake system page ? now it just display
>>> the Cake system page everytime it is routed tohttp://localhost/
>>
>>> I need it to be a customised page, such as, "Welcome to ABC company
>>> etc... "
>>
>>> Urgently need help with this.
>>
>>> Regards,
>>> Maxim
>>
>>> On Dec 30, 8:43 pm, John Maxim <goog...@gmail.com> wrote:
>>
>>>> My document root is:
>>
>>>> DocumentRoot "c:/wamp/www/"
>>
>>>> Isn't it already pointing to the correct folder ?
>>
>>>> Regards,
>>>> Maxim
>>
>>>> On Dec 30, 8:37 pm, John Maxim <goog...@gmail.com> wrote:
>>
>>>>> http://book.cakephp.org/view/914/Production
>>
>>>>> Hi, following the above link, I tried to build my App so it starts
>>>>> here:
>>>>> ------http://localhost/
>>>>> ------
>>>>> I don't understand the link above..
>>
>>>>> I unzipped the cake's folder into my root which is in */www/ and
>>>>> renamed the index.php file to something else but it still brings up
>>>>> the cake system information page each time I loadhttp://localhost/
>>
>>>>> Can someone share how to remove or rename/replace the cake's index
>>>>> page to somewhere so I can start my app athttp://localhost
>>
>>>>> Thanks,
>>>>> Maxim
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: