It's not exactly what you're asking but maybe it will help, I needed something similar for 'autocomplete' actions in the controller I ended up with some help from othersnputting the following in app_controller and calling it from the action for which I don't want debugging.
function debugoff() { $db =& ConnectionManager::getInstance(); $connected =& $db->getDataSource('default'); $connected->debug = false; $connected->fullDebug = false; } */Jeremy Pointer/* [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Tane Piper wrote: > Hey folks, > > Quick question. I'm using jQuery, rather than the Ajax helper to do > all my Ajax stuff on my site. I'm wondering if during debug mode > there is a way to switch off the queries table at the bottom of each > view that loads, and maybe even do an ajax update on that area for > each view that's loaded? > > It just looks messy and causes problems with my layout. If not I > suppose my only alternative it to test with JS disabled so it handles > normall, switch off debug once I'm happy then test Ajax? > > Thanks if anyone can give me some advice on this. > > Tane > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---