[Locked] Hide Meta Generaor Tag - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

[Locked] Hide Meta Generaor Tag

EG

Eduardo G.

SP Page Builder 1 year 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
11 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 year 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 year 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 year 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 year 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 year ago #151569

Therefore, there is no such option.

0
EG
Eduardo G.
Accepted Answer
1 year 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 year 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 year 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
RL
Riku Lahteenmaki
Accepted Answer
10 months ago #178104

Hi Paul,

I made the language override, but it does not take effect.

Helix Ultimate version is 2.1.1.

I also tried to change the

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

file and replaced the language constant with '', but with no effect on the site.

0
K
KJ
Accepted Answer
5 months ago #191904

Just create an override for HELIX_ULTIMATE_GENERATOR_TEXT as suggested above. It's simple and doesn't interfere with upgrades.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 5 months ago #191912

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

Allows you to create a simple override that will work for years. Just remember to do that for all used languages.

0
This topic is locked