Hide Meta Generaor Tag - Question | JoomShaper

Hide Meta Generaor Tag

EG

Eduardo G.

SP Page Builder 1 month ago

I dont want to include this meta tag, how do I disable it?

<meta name="generator" content="Helix Ultimate - The Most Popular Joomla! Template Framework.">

0
9 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 month ago #151548

Hello Eduardo G.

In the below file on line 329, you can remove or update it.

plugins/system/helixultimate/src/Core/HelixUltimate.php

But it will be updated again when you update or install the template again. If you just want to change the content, then you can override the language string 'HELIX_ULTIMATE_GENERATOR_TEXT

Best regards

0
EG
Eduardo G.
Accepted Answer
1 month ago #151549

Thanks, but I need an upgrade-safe solution. This must be optional, we must be able to choose the information we want to "leak" in our websites. I cannot hack the same file over and over on any update. I need to toggle this option or disable it by default.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 month ago #151562

HI Eduardo,

If this is raw Helix Ultimate just override Language phrase used there:

https://www.joomshaper.com/documentation/helix-framework/customization-tips#how-to-rename-meta-generator-with-helix-ultimate-name

Use your company name or word "CMS" - as you wish.

0
EG
Eduardo G.
Accepted Answer
1 month ago #151565

Thanks, Paul, but I dont want to change it, I want it removed

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 month ago #151569

Therefore, there is no such option.

0
EG
Eduardo G.
Accepted Answer
1 month ago #151576

If we can't get full control of what we publish in out websites, what's the point? Why isn't an option for that?

if ($this->params->get('enable_generator_tag'))
{
    $generatorText = Text::_('HELIX_ULTIMATE_GENERATOR_TEXT');
}

at plugins/system/helixultimate/src/Core/HelixUltimate.php

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 month ago #151582

edit that file, then change its permission from 644 to 444 and won't be changed by next update. Think out the box.

0
EG
Eduardo G.
Accepted Answer
1 month ago #151585

Then I'll have a problem with future updates. I think logically ;-)

You still want us to hack the files instead of making it optional. That makes no sense

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 month ago #151603

Life is full of compromises. You will do as you think is right.

Maybe one day it will be ON/OFF option, but not tomorrow.


Have a nice day.

0