NYCPHP Meetup

NYPHP.org

[joomla] View Source

David Roth davidalanroth at gmail.com
Fri Feb 22 19:57:54 EST 2013


Doesn't that get overwritten when you upgrade Joomla?

David Roth


On Fri, Feb 22, 2013 at 7:34 PM, Stephen Britton <sbritton at gmail.com> wrote:

> No need to install an extension.
>
> Just cut and paste this line of code in the JEXEC or die PHP code block at
> the top of the
> index.php file
>
> // Remove the generator meta tag
> $this->setGenerator(null);
>
> And once you are done, the code should look something like this:
>
> <?php
> /**
>  * @copyright  Copyright (C) 2009 - 2012 Stephen Britton.
>  * http://www.joomlajems.com
>  * @license    GPL 2 or later
>  */
>
> defined('_JEXEC') or die;
> $app = JFactory::getApplication();
>
> A WHOLE BUNCH OF CODE IS IN HERE DEPENDING ON THE TEMPLATE
>
> // Remove the generator meta tag
> $this->setGenerator(null);
>
> ?>
>
> Hope this helps.
>
> - - - Steve
>
>
> On Fri, Feb 22, 2013 at 7:15 PM, David Roth <davidalanroth at gmail.com>wrote:
>
>> Yes there is. I don't recall the extension but you should be able to find
>> it at Joomla.org.
>>
>> David Roth
>> On Feb 22, 2013 5:48 PM, "Unitel" <unitelny at gmail.com> wrote:
>>
>>>   Hello everyone,****
>>>
>>> ** **
>>>
>>> This line of code > meta name="generator" content="Joomla! - Open
>>> Source Content Management < gets displayed when user clicks on “View
>>> Source”. Is there anyway of hiding it?****
>>>
>>> ** **
>>>
>>> ** **
>>>
>>> Best regards,****
>>>
>>> ** **
>>>
>>> Marcos Miranda ****
>>>  [image: ---]
>>>
>>> ** **
>>>
>>> _______________________________________________
>>> New York PHP SIG: Joomla! Mailing List
>>> http://lists.nyphp.org/mailman/listinfo/joomla
>>>
>>> NYPHPCon 2006 Presentations Online
>>> http://www.nyphpcon.com
>>>
>>> Show Your Participation in New York PHP
>>> http://www.nyphp.org/show_participation.php
>>>
>>
>> _______________________________________________
>> New York PHP SIG: Joomla! Mailing List
>> http://lists.nyphp.org/mailman/listinfo/joomla
>>
>> NYPHPCon 2006 Presentations Online
>> http://www.nyphpcon.com
>>
>> Show Your Participation in New York PHP
>> http://www.nyphp.org/show_participation.php
>>
>
>
>
> --
> Stephen Britton
> Technology Consultant
> sbritton at gmail.com
> Twitter: @StephenBritton
> ph: 914-661-0040
>
> "Life isn't about finding yourself. Life is about creating yourself." -
> George Bernard Shaw
>
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/joomla/attachments/20130222/4fd9b358/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 3357 bytes
Desc: not available
URL: <http://lists.nyphp.org/pipermail/joomla/attachments/20130222/4fd9b358/attachment.gif>


More information about the Joomla mailing list