[TYPO3-dev] TCA Link-Wizzard: The settings for the Link title

Jigal van Hemert jigal.van.hemert at typo3.org
Sat Mar 14 23:46:44 CET 2015


Hi,

On 13/03/2015 16:19, Daniel Ritter wrote:
> I've go a problem with my generated Backend. I generated a input field
> for a link as part of an object(Every product has one link).

[...]
> (data is the link of type string)
> But the problem is if I give the link a title Typo appends the title at
> the url of the link as on the pictures.
>
> Have someone in idea whats wrong with the TCA. Or is the problem that my
> link is of the datatype string in the model?

A small note: it's "TYPO3" and not "Typo".

There is nothing wrong with the behavior. A link can have several 
'field' separated by spaces. Look at the "parameter" property in the 
documentation of "typolink" (which is the central handler of any type of 
link) [1].
The four parts are URI, target, class and title. In your case:
dict.leo.org - - %title%

The empty parts are represented by dashes ('-').

> begin 644 1.PNG
> MB5!.1PT*&@H````-24A$4@```=0```$Y"`8````I_=$P`````7-21T(`KLX<
> MZ0````1G04U!``"QCPO\804````)<$A9<P``#L,```[#`<=OJ&0``"?R241!
[...]
> M)3LA`$S9%#IO;V_-Z^MK>^(!@*4VA0X`;"%T`*A&Z`!0C=`!H!JA`T`U0@>`
> M:H0.`-4('0"J$3H`5"-T`*A&Z`!0R4?S&R'S(#]K828>`````$E%3D2N0F""
> `
> end

Better not attach files to a post; those who use newsgroups or mailing 
lists get the files as base64 encoded text. The easiest alternative is 
to host the files somewhere online and put a link in your post.

[1] 
http://docs.typo3.org/typo3cms/TyposcriptReference/Functions/Typolink/Index.html

-- 
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3 .... inspiring people to share!
Get involved: typo3.org



More information about the TYPO3-dev mailing list