At the bottom from views/layouts/default.ctp u ll find the line of code that display the sql query statemets. Just put that line somewhere else. But that isnt rly a good idea, cause when u go online with ur site, u ll need to stay in a debug lvl 2 in order to c that msg's.
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 -~----------~----~----~----~------~----~------~--~---
