how to hide the <meta name="generator"

Professional Joomla social template with metro design and JomSocial extension support.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Oct 08, 2014 8:32 am
Reply with quote
Report this post
Hi guys,

until now i used the T3 Framework with much own changes.

No i have installed the M-Social Template and it looks fine.

But how can i hide the <meta name="generator" content="Joomla! - Open Source Content Management" /> ?

solution:

Write the following line in the index.php AFTER the line "defined('_JEXEC') or die;"

Code: Select all
$this->setMetaData('generator','');


Maybe you need to write the line in the error.php and others to.

Hope this helps if anybody has the same problem.

regards
User avatar
Fresh Boarder

GK User
Wed Oct 08, 2014 8:52 am
Reply with quote
Report this post
Hi,
easy. Use ByeByeGenerator plugin, editing files is never a good solution!
User avatar
Platinum Boarder

GK User
Wed Oct 08, 2014 11:31 am
Reply with quote
Report this post
Hi Oscar,

i dont know this Plugin, but you are right. It is better to do this before you editing the php files .)
User avatar
Fresh Boarder

GK User
Wed Oct 08, 2014 12:07 pm
Reply with quote
Report this post
Touching php make break something in wrong/shaking beginners hands.
User avatar
Platinum Boarder


cron