Re: How do i remove the query results

2008-09-04 Thread red
Perfect solution with beforeRender (beforeFilter), thanks guys! On 4 Wrz, 03:18, Jaime [EMAIL PROTECTED] wrote: class AppController extends Controller {   var $components = array(..., 'RequestHandler');   function beforeRender() {     if ($this-params['isAjax'])      

How do i remove the query results

2008-09-03 Thread phanorcoll
hi, how can i remove the query results from the bottom of the page, i've created the default.ctp in the layout folder, but the query results still appears at the bottom --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: How do i remove the query results

2008-09-03 Thread [EMAIL PROTECTED]
/** * CakePHP Debug Level: * * Production Mode: * 0: No error messages, errors, or warnings shown. Flash messages redirect. * * Development Mode: * 1: Errors and warnings shown, model caches refreshed, flash messages halted. * 2: As in 1, but also with full debug messages

Re: How do i remove the query results

2008-09-03 Thread phanorcoll
thanks.. On Sep 3, 11:34 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: /**  * CakePHP Debug Level:  *  * Production Mode:  *      0: No error messages, errors, or warnings shown. Flash messages redirect.  *  * Development Mode:  *      1: Errors and warnings shown, model caches

Re: How do i remove the query results

2008-09-03 Thread red
Extra question - is there any way to hide debug output on div's, that are returned from Ajax request (without turning on production mode)? I update one cell in table and this debug output blows my table up. On 3 Wrz, 17:50, phanorcoll [EMAIL PROTECTED] wrote: thanks.. On Sep 3, 11:34 am,

Re: How do i remove the query results

2008-09-03 Thread Bernhard J. M. Grün
My solution for this was to disable the debug mode for that specific request via Configure::write('debug', 0) in the beforeFilter() action. 2008/9/3 red [EMAIL PROTECTED] Extra question - is there any way to hide debug output on div's, that are returned from Ajax request (without turning on

Re: How do i remove the query results

2008-09-03 Thread Jaime
class AppController extends Controller { var $components = array(..., 'RequestHandler'); function beforeRender() { if ($this-params['isAjax']) Configure::write('debug', 0); } } --~--~-~--~~~---~--~~ You received this message because you are

Re: How do i remove the query results

2008-09-03 Thread powtac
Remove ?php echo $cakeDebug? in /views/layouts/default.ctp --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group,