You can specify the URL.
You have the opportunity (optional) to specify the Anchor text.
The raw URL is shown as field content.
The "a" tag has as anchor text the URL.
Joomla 3.9.5
Labels |
Added:
?
|
Labels |
Added:
J3 Issue
|
Status | New | ⇒ | Information Required |
I created a custom override for URLs, so we could have more control of them...
Not a perfect solution, but it works...
@HLeithner should @rytechsites make a Pull Request you would merge?
Could make sense for j4,
I don't know if my solution is really the 'best' way to go. it is a great work around for us...but if we were to wait, I would think a better way to go is to include a 2nd field when defining a url, and that field 'can' be used as the 'text' that is displayed instead of the link.
My option of using the 'description' is just 'ok', not ideal, because then you will have multiple 'text links', that are on the same going down the page, even if the urls are different.
For example if you create a field called: 'Faculty Member website', the 'link' will say 'faculty member website' with a link to the url, which is great, but again not 'ideal'... when it could say for example 'John's Faculty Website'...
The 'stripping' of the mailto is probably more important, as I don't know any cases where anyone would want the 'mailto' displayed...
--- Laura
@rytechsites please check PR #24776 as it implements your suggestion
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-05-03 04:02:30 |
Closed_By | ⇒ | franz-wohlkoenig |
IMHO, if we need a different anchor text, we should use a new parameter and make sure it goes through JText.
In any case, this would be a new feature, and therefore for J4
i agree with your approach @infograf768
will try to work on that, any help is welcome ;)
I agree as well... my solution was just as a work around. This can be donr
better, so languages can be considered...
Laura
On Fri, May 3, 2019, 6:26 AM Luca Marzo notifications@github.com wrote:
i agree with your approach @infograf768 https://github.com/infograf768
will try to work on that, any help is welcome ;)—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#24739 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEIIWYHETFPBK2N27XN4KALPTQHMFANCNFSM4HI4GUNQ
.
Looks like expected Behaviour: https://docs.joomla.org/J3.x:Adding_custom_fields/Url_Field