After a long night of hacking the core, I realised that I didn't really want to have the new meta generator copyright tag "feature" in every page of my site.
If you hadn't noticed it, the tag is included with the mosShowHead function in 4.5.1 series, and puts this in:
PHP Code:
<meta name="Generator" content="Mambo - Copyright 2000 - 2004 Miro International Pty Ltd. All rights reserved." />
There are various reasons you may want to do this, none of which have anything to do with attempting to "rip off mambo" as Brian put it when this feature was first discussed.
For instance, if you do have that tag, it makes it a whole lot easier for unscrupulous script kiddies to find your Mambo site when a security hole is announced.
So, it's as easy as commenting out one line. Go into includes/frontend.php and do a search for "mosShowHead", then comment out this line:
PHP Code:
162 $mainframe->addMetaTag( 'Generator', $_VERSION->PRODUCT . " - " . $_VERSION->COPYRIGHT);
It's line 162 in 4.5.1a, but this will likely change in future versions.
There you go, removing the tag completely, without removing the copyright notice in the source. 8-)
Cheers,
Damian
NOTE: This was a side effect of hacking the mosShowHead function to replace in titles (which turned out to be in mambo.php), as my menu system uses spaces to add some spacing to the ends of some menu items. It'll make sense when you see the finished product
I posted this to both forums, as I thought it might be a handy tip for some people, and it could be a security issue.