Page 1 of 1

Remove Generation Info from bottom of page source

Posted: Thu Nov 27, 2008 9:38 am
by cameronj
Hi guys,

How do i remove the generation numbers from the bottom of my html files.  Also how do i remove the CMS stuff from the top of the CMSMS stylesheet.  Yes I am still referencing my website to CMSMS, just don't want this gimmicks in the source code.

Re: Remove Generation Info from bottom of page source

Posted: Sun Nov 30, 2008 6:46 pm
by NaN
http://www.cmsmadesimple.org/support/commercial-license

Since this is not inside a template but in the codebase, you are (imho) not allowed to remove the generation info unless you purchased a commercial license.
For the stylesheet stuff take a look into the stylesheets.

Re: Remove Generation Info from bottom of page source

Posted: Sun Nov 30, 2008 8:12 pm
by jmcgin51
I don't think there's anything in the GPL that prevents you from removing the information about how long it took to generate the page and how many SQL queries it took.  It's only the copyright info that you have to leave in.  If you want to remove the copyright stuff, then you have to purchase the commercial license.

Re: Remove Generation Info from bottom of page source

Posted: Sun Nov 30, 2008 8:28 pm
by NaN
If this is the case you should take a look at the bottom of the index.php.

Re: Remove Generation Info from bottom of page source

Posted: Mon Dec 01, 2008 2:16 am
by jmcgin51
I'm not sure I follow you, NaN.  What exactly are you referring to at the bottom of index.php?  Are you looking at the source or the generated html output?

Re: Remove Generation Info from bottom of page source

Posted: Mon Dec 01, 2008 2:29 pm
by NaN
I mean the source code of the index.php at your server.
Not the html ouptput in the browser.
In the index.php at line 330 you will find something like that:

Code: Select all


else if( !isset($config['hide_performance_info']) )

That means the performance info will only be displayed if there is no such setting in the config.php.
And that means that you just need to add a line like

Code: Select all


$config['hide_performance_info'] = true;

To your config.php.
Did not test that but it should work.

Re: Remove Generation Info from bottom of page source

Posted: Thu May 13, 2010 11:41 pm
by reneh
This is changed from cmsms 1.7.1 !  Because of found problems with json actions.

From now the performance info is set OFF by default.
Now it's posible to turn it back ON by adding a NEW setting to config.php.

Code: Select all

#New parameter to still show the old fashion performance data in footer of show source
$config['show_performance_info'] = 1;