You don't really need to change the location in the source to display sql debugging in a pretty way. http://snook.ca/archives/cakephp/debug_styles/
For any debug() statements you put in your code you would have to override that function and save them all until you get to the layout. But the reason this is not done is that is is not without problems... an error may very well prevent the layout from rendering and then you would have no idea what's going on. On Jan 22, 11:44 am, Invizibility <[email protected]> wrote: > Hi all, > > I'd like to change the location where cake inserts its debug > statements (SQL queries, timings) in my layout. The reason is that > when my app goes alpha and is sent to QA I would like them to quickly > know which queries are being fired and what is happening but in an > optional way. Hence using CSS/DHTML magic I would like to put it in > the top of the page in a collapsed DIV element. > > Is there a variable similar to content_for_layout? I saw cakeDebug but > that didnt help and it still printed the logs in the same location. > > A good samaritan pointed me to DebugKit but thats something which I > dont want to use. Any suggestions would be highly appreciated. > > Thanks, > Inviz. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
