Documentation · ViewHelper reference

Link / TypolinkViewHelper


A ViewHelper to create links from fields supported by the link wizard

Example

{link} contains "19 _blank - "testtitle with whitespace" &X=y"

minimal usage

<f:link.typolink parameter="{link}">
Linktext </f:link.typolink>

Output


Linktext

Full parameter usage

<f:link.typolink parameter="{link}" target="_blank" class="ico-class" title="some title" additionalParams="&u=b" additionalAttributes="{type:'button'}">
Linktext </f:link.typolink>

Output


Linktext

/
  • Tag usage example

    <f:link.typolink parameter="foo" target="''" class="''" title="''" additionalParams="''" additionalAttributes="{foo: 'bar'}">
    	<!-- tag content - may be ignored! -->
    </f:link.typolink>
  • Inline usage example

    {f:link.typolink(parameter: 'foo', target: '''', class: '''', title: '''', additionalParams: '''', additionalAttributes: {foo: 'bar'})}

Arguments

Argument Description Type
additionalAttributes array
additionalParams string
class string
parameter

stdWrap.typolink style parameter string

string
target string
title string
Required attribute

Revision history