Re: Removing page execution time from bottom of page
On Aug 24, 1:02 am, Aaron <[EMAIL PROTECTED]> wrote: > At the bottom of every rendered page is an execution time (i.e. > ) I have views that return json and this breaks the > parsing. How do I remove this? > > -Aaron use layout without any other text. in controller: function return_json_etc() { ... //see /cake/libs/view/layouts/ $this->layout = 'ajax'; ... } --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Removing page execution time from bottom of page
If you only want this in a particular view you can set Configure::write ('debug', 0); in your controller method. This is particularly useful for those controllers that require no extra information e.g. sitemap producing xml Brett Wilton http://wiltonsoftware.com --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Removing page execution time from bottom of page
Or disable it on the specific view using $config. On Aug 24, 5:35 am, majna <[EMAIL PROTECTED]> wrote: > just set Debug to 0. > (execution time is echoed from webroot/index.php, but only in debug > mode) > > On Aug 23, 11:02 pm, Aaron <[EMAIL PROTECTED]> wrote: > > > > > At the bottom of every rendered page is an execution time (i.e. > > ) I have views that return json and this breaks the > > parsing. How do I remove this? > > > -Aaron --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Removing page execution time from bottom of page
Hi Aaron, > At the bottom of every rendered page is an execution time (i.e. > ) I have views that return json and this breaks the > parsing. How do I remove this? You could remove it from the end of app/webroot/index.php -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Removing page execution time from bottom of page
just set Debug to 0. (execution time is echoed from webroot/index.php, but only in debug mode) On Aug 23, 11:02 pm, Aaron <[EMAIL PROTECTED]> wrote: > At the bottom of every rendered page is an execution time (i.e. > ) I have views that return json and this breaks the > parsing. How do I remove this? > > -Aaron --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Removing page execution time from bottom of page
At the bottom of every rendered page is an execution time (i.e. ) I have views that return json and this breaks the parsing. How do I remove this? -Aaron --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---