Project

General

Profile

Actions

Feature #23248

closed

It would be nice to be able to adjust link texts

Added by Alban Cousinie over 14 years ago. Updated almost 10 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-07-22
Due date:
% Done:

0%

Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:

Description

In flexforms, when you use a link field, the created link in the frontend has its text set automatically by typo3 :

if you link to an internal page, you will get a link like :
<a href="index.php?id=3">The typo3 page title</a>

if you link to a website, you will get :
<a href="http://www.youtube.com&quot;&gt;www.youtube.com&lt;/a>

What happens if you you want to have a link like ?
<a href="http://www.youtube.com&quot;&gt;View more videos</a>

Well you can't ! This is because the Typolink dialog won't allow you to overlay the text of the specified link. I often miss this feature. The only workaround I have found so far is to map a <a> tag with 3 fields : 'href' and 'target' attributes + a text field. But using this flexform setup, you lose the open window feature...

(issue imported from #M15199)

Actions #1

Updated by Alban Cousinie over 14 years ago

Links have been automatically substituted by the bugtracker.
You should read :

first link :
'typo3 page title' (linking to index.php?id=3)

second link :
'www.youtube.com' (linking to http://www.youtube.com)

third link :
'view more videos' (linking to http://www.youtube.com)

Actions #2

Updated by Lorenz Ulrich over 12 years ago

  • Target version deleted (0)

I don't understand that. Are we talking about the link wizard?

In FlexForms that are parsed as content, you could use

<LINK http://www.domain.tld>My link</LINK>

Actions #3

Updated by Alban Cousinie over 12 years ago

Wow this is an old issue surfacing...I submited it 2 years ago :-)

Yes I was talking about the link wizard : if you create an external link in the link wizard, you can't force the text of the link. Having a field for that would be a useful addition.

Actions #4

Updated by Frans Saris almost 10 years ago

  • Description updated (diff)
  • Status changed from New to Rejected

If you want to create custom links change the field to a text/RTE field then you can select some text and add a link to it.

The typoscript typolink.parameter option doesn't support a value option.

Actions

Also available in: Atom PDF