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'])
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
/**
* 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
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
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,
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
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
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,