Jump to content

CakePHP help


c_pattle

Recommended Posts

I have just downloaded cakephp and tried their tutorial to create a basic application.  Although I have done this I am not sure how to edit the appearing of the main index page.  For example I know that the view is made up of add.ctp etc but how to a change the view on the index page.  Everytime you add a new article it displays the sql at the bottom.  How can I get rid of this and other page elements? 

 

Thanks for any help. 

Link to comment
Share on other sites

I am not sure how to edit the appearing of the main index page.

I think there was a way to set up a template for all pages including the index. Try and look up how templates work in cake

 

Everytime you add a new article it displays the sql at the bottom.  How can I get rid of this and other page elements? 

By changing the debug level you can change this. Look in your /app/config/core.php file for this

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.