Language Change PR-7.0-dev Pending

User tests: Successful: Unsuccessful:

avatar korenevskiy
korenevskiy
16 Aug 2026

Pull Request resolves # .

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

This change allows you to use custom text for links in the URL field.

The original link names are not applicable by the site administrators. Since the default link names are extremely useless for the site. Simply linking to a website doesn’t mean anything; anyone already knows that a link leads to a website. Therefore, the written text of the link stating that it opens the website is useless, hinders navigation, and interferes with the intuitive understanding of the link.
Let’s assume that 2 different links to different websites need to be attached to the material: one link to Telegram and the other to YouTube. In both cases, the links will have the name “Visit Website”. No one will ever click on such a link, because it evokes fear — what if there’s a virus? And the link doesn’t explain why I should click on it in the first place.

Here, it is not applicable to use the override of INI localization constants. Since the text displayed for the link uses the global INI constant from the joomla.ini file.

Testing Instructions

  1. Create a URL field for articles.
  2. In the field settings, disable the display of the URL address.
  3. Enter any invented link name in the Display name field.
  4. In the article, enter the link in the created field.
  5. Check the display of the field in the article on the website’s PR page.

Actual result BEFORE applying this Pull Request

The text “Visit Website” and “Visit Link” was displayed, with no option to specify custom text for the link.

Expected result AFTER applying this Pull Request

In addition, you can now specify your own custom link name for this field.

Link to documentations

Please select:

  • No documentation changes for guide.joomla.org needed

  • Documentation link for guide.joomla.org:

  • No documentation changes for manual.joomla.org needed

  • Pull Request link for manual.joomla.org:

avatar korenevskiy korenevskiy - open - 16 Aug 2026
avatar korenevskiy korenevskiy - change - 16 Aug 2026
Status New ⇒ Pending
avatar joomla-cms-bot joomla-cms-bot - change - 16 Aug 2026
Category ⇒ Administration Language & Strings Front End Plugins
avatar korenevskiy
korenevskiy - comment - 16 Aug 2026

🤔It feels like no administrator has used this plugin at all. Since only a layout designer or a programmer can configure this plugin.

avatar korenevskiy korenevskiy - change - 16 Aug 2026
The description was changed
avatar korenevskiy korenevskiy - edited - 16 Aug 2026
avatar korenevskiy korenevskiy - edited - 16 Aug 2026
avatar korenevskiy korenevskiy - edited - 16 Aug 2026
avatar korenevskiy korenevskiy - change - 16 Aug 2026
Labels Added: Language Change PR-7.0-dev
avatar korenevskiy korenevskiy - change - 16 Aug 2026
Title
…
Add Custom text link
Add Custom text link for Url FIeld Plugin
avatar korenevskiy korenevskiy - edited - 16 Aug 2026
avatar korenevskiy korenevskiy - change - 16 Aug 2026
Title
…
Add Custom text link for Url FIeld Plugin
Add Custom text for link Url FIeld Plugin
avatar korenevskiy korenevskiy - edited - 16 Aug 2026
avatar korenevskiy korenevskiy - change - 16 Aug 2026
The description was changed
avatar korenevskiy korenevskiy - edited - 16 Aug 2026
avatar brianteeman
brianteeman - comment - 17 Aug 2026

I can see what you are doing here but it doesnt really solve the problem. You are simply changing the fixed string from the language file with a fixed string in the field config. It doesn't let me set a string specifically for the url

avatar tecpromotion tecpromotion - change - 17 Aug 2026
Title
…
Add Custom text for link Url FIeld Plugin
[7.0] Add Custom text for link Url FIeld Plugin
avatar tecpromotion tecpromotion - edited - 17 Aug 2026
avatar korenevskiy
korenevskiy - comment - 17 Aug 2026

Maybe I’m wrong, but it seems like everything worked for me as I described in the description.
First, specify the external link in the article field. On the client page, we see the article with the A tag:

<a href='$url'>Visit Website</a>

But now the link will (should) look like this.

<a href='$url'>User text with a description of the website being opened.</a>

The text is inserted from the plugin field settings.
It worked for me.
Did you enter the link name in the plugin field settings?

avatar korenevskiy korenevskiy - change - 17 Aug 2026
The description was changed
avatar korenevskiy korenevskiy - edited - 17 Aug 2026
avatar korenevskiy korenevskiy - change - 17 Aug 2026
The description was changed
avatar korenevskiy korenevskiy - edited - 17 Aug 2026
avatar korenevskiy korenevskiy - change - 17 Aug 2026
The description was changed
avatar korenevskiy korenevskiy - edited - 17 Aug 2026
avatar korenevskiy korenevskiy - change - 17 Aug 2026
The description was changed
avatar korenevskiy korenevskiy - edited - 17 Aug 2026
avatar korenevskiy korenevskiy - change - 17 Aug 2026
The description was changed
avatar korenevskiy korenevskiy - edited - 17 Aug 2026
avatar brianteeman
brianteeman - comment - 17 Aug 2026

The text is inserted from the plugin field settings.

Which means its the same text for every time you use the field

Which is exactly what you could already achieve with a language overide of JVISIT_WEBSITE="Visit Website"

I was expecting to be able to add unique text for every time I used the field

avatar korenevskiy
korenevskiy - comment - 18 Aug 2026

What does “unique text” mean each time?
After all, in this change, we can set a unique text for the created field.
Are you suggesting creating it for each article separately?
If we override the constant JVISIT_WEBSITE="Visit Website", we will override it not only for all URL plugin fields, but for the entire website.
But my PR allows you to set your own text for the created field. Not for all fields of this plugin at once, but for a single field. For example, you can create a YouTube field; for all articles, you can specify the YouTube link in this field.
Perhaps you got confused in the analysis; the field has 2 XML configuration files. One of them is the plugin configuration, and the second file is the field configuration. I’ll note that I added a new field not for the plugin, but for each field.

avatar brianteeman
brianteeman - comment - 18 Aug 2026

No I am not comfused

avatar brianteeman
brianteeman - comment - 18 Aug 2026

No I am not confused

Are you suggesting creating it for each article separately?

yes

avatar korenevskiy
korenevskiy - comment - 23 Aug 2026

This will be a fundamentally different field. The new desired change requires that the field value in the database contains not only a reference but also the field name.
Such a field will require the value to be serialized for storage in the database.
In this case, you can create a new field with a new name, Link; this name is more suitable for the new functionality.

avatar korenevskiy
korenevskiy - comment - 23 Aug 2026

This will be a fundamentally different field. The new desired change requires that the field value in the database contains not only a reference but also the field name.
Such a field will require the value to be serialized for storage in the database.
In this case, we can create a new field with a new name, Link; this name is more suitable for the new functionality.

Add a Comment

Login with GitHub to post a comment