? Pending

User tests: Successful: Unsuccessful:

avatar jeckodevelopment
jeckodevelopment
2 May 2019

Pull Request for Issue #24739

Summary of Changes

The URL field description is used as anchor text for the URL.
This PR is based on the work and the suggestion of Laura ( @rytechsites ): #24739 (comment)

PROs: links will have now an anchor text.
Cons: All the URLs will have the same anchor text.

Testing Instructions

Create a field, choose type "URL", specify a Description for the URL field.
Create an article, fill the URL field.

Expected result

In the frontend you won't see anymore the raw URL, but you will see the description of the field as anchor text for all the URLs using such field.

Documentation Changes Required

Add this behavior to the URL field documentation page: https://docs.joomla.org/J3.x:Adding_custom_fields/Url_Field

avatar jeckodevelopment jeckodevelopment - open - 2 May 2019
avatar jeckodevelopment jeckodevelopment - change - 2 May 2019
Status New Pending
avatar jeckodevelopment jeckodevelopment - change - 2 May 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 2 May 2019
Category Front End Plugins
avatar SharkyKZ
SharkyKZ - comment - 3 May 2019

Using field description here is totally wrong. It is shown in edit form.

Description
A description of the field that will be displayed in the label tooltip.

avatar infograf768
infograf768 - comment - 3 May 2019

I am not in favor of this patch.
Not only we would have the same anchor text but it would be the same whatever the language as the description (which would have to be an ini string constant) is not going through JText.

avatar infograf768
infograf768 - comment - 4 May 2019

Closing. See discussion #24739

avatar infograf768 infograf768 - close - 4 May 2019
avatar infograf768 infograf768 - change - 4 May 2019
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2019-05-04 09:21:54
Closed_By infograf768

Add a Comment

Login with GitHub to post a comment