HELIX_ULTIMATE_GENERATOR_TEXT Override No Longer Applied In Helix Ultimate 2.2.4 - Question | JoomShaper

HELIX_ULTIMATE_GENERATOR_TEXT Override No Longer Applied In Helix Ultimate 2.2.4

D

David Forés

Helix Framework 6 days ago

Hi,

We have noticed that our custom generator text is no longer being applied on our site after updating Helix Ultimate.

We are currently using Helix Ultimate 2.2.4.

Previously, we had a language override for:

HELIX_ULTIMATE_GENERATOR_TEXT

and this was working correctly. The meta generator tag was using the custom text defined in the language override.

However, we recently noticed that the site is now outputting the default Joomla generator again:

<meta name="generator" content="Joomla! - Open Source Content Management">

At first, we thought it might be related to Joomla cache, language overrides, or a recent Joomla update, but after checking the Helix Ultimate files we found what seems to be the cause.

In an older version of plugins/system/helixultimate/src/Core/HelixUltimate.php, the head() method contained this code:

$generatorText = Text::_('HELIX_ULTIMATE_GENERATOR_TEXT');

if (!empty($generatorText))
{
    $this->doc->setGenerator($generatorText);
}

But in the current version we have installed, Helix Ultimate 2.2.4, that block appears to be commented out:

// $generatorText = Text::_('HELIX_ULTIMATE_GENERATOR_TEXT');

// if (!empty($generatorText))
// {
//     $this->doc->setGenerator($generatorText);
// }

Also, the use Joomla\CMS\Language\Text; import is no longer present in the current file, so it looks like the language override can no longer be used by Helix to set the generator text.

Could you please confirm whether this change was intentional?

If it was intentional, what is now the recommended way to customize or remove the meta generator tag in Helix Ultimate?

If it was not intentional, could this be considered a regression? The previous behavior was useful because it allowed us to customize the generator text safely through Joomla language overrides, without editing template or plugin files directly.

Thanks!

0
3 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 6 days ago #223362

Hi David,

I also checked the last version 2.2.5 and was the same, but I don't know why ;/

Tomorrow I will ask our developer to take a look , and correct in upcoming 2.2.6

0
D
David Forés
Accepted Answer
1 day ago #223701

Hi Paul,

Any updates on this matter?

Thanks.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 day ago #223710

Yes. Check below file (upcoming), please test it on your site, and let me know before Monday.

0