Documentation · ViewHelper reference

Uri / TypolinkViewHelper


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

Example

{link} contains "19 - - - &X=y"
Please note that due to the nature of typolink you have to provide a
full set of parameters if you use the parameter only. Target, class
and title will be discarded.

minimal usage

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

Output

index.php?id=19&X=y

Full parameter usage

<f:uri.typolink parameter="{link}" additionalParams="&u=b" />

Output

index.php?id=19&X=y&u=b

/
  • Tag usage example

    <f:uri.typolink parameter="foo" additionalParams="''">
    	<!-- tag content - may be ignored! -->
    </f:uri.typolink>
  • Inline usage example

    {f:uri.typolink(parameter: 'foo', additionalParams: '''')}

Arguments

Argument Description Type
additionalParams string
parameter

stdWrap.typolink style parameter string

string
Required attribute

Revision history