The default views
I am new to cakephp and I used bake to make the views. I didnt use $scaffold in the controllers. But now I want to get rid of the default query that it shows on the bottom and the heading it shows on the to. How can I do that. Thanks for your help!
Asked by asimzaidi, on 8/2/10
2 Answers
/app/config/core.php set debug to 0
look at the layout in cake/libs/view/layouts/default.ctp for the way page title is set
Answered by dogmatic69on 8/2/10
that is core cake code, so if you dont have that i would recomend a new install
do you have a layout file in app/views/layouts
dogmatic69 - on 8/2/10
You can also use the DebugKit plugin to get rid of the debug code at the bottom of the page and still have access to a bunch of debug variables with debug set to > 0.
http://www.ohloh.net/p/cakephp-debugkit
Answered by davidwuon 8/2/10
Your Answer
You can use Creole Wiki Syntax to format your text.
Rating
0
Viewed
158 times
Last Activity
on 8/2/10