Hi,
I'm trying to receive some JSON from some php code in a UDT with jQuery 1.4. The problem is that the page that has the UDT and outputs the JSON is also very fond of outputting an annoying comment in the end of the page (ex: ).
How do I teach CMSMS to be obedient and not to output something I have no interest in and renders my JSON invalid?
CMSMS version : 1.6.6 "Bonde"
PHP version : 5.2
Notes : I use showtemplate=false in the request url and yes, my php code has been tested on an independent file.
[solved] How to remove the comment at the bottom of output pages
[solved] How to remove the comment at the bottom of output pages
Last edited by Jonn on Mon Apr 12, 2010 5:16 pm, edited 1 time in total.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: How to remove the comment at the bottom of output pages
add this line to your config.php
$config['hide_performance_info'] = 1;
$config['hide_performance_info'] = 1;
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: How to remove the comment at the bottom of output pages
Awsome that seemed to do the trick. Thank you very much 
