uri.typolink¶
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, then target, class and title will be discarded.
Minimal usage¶
<f:uri.typolink parameter="{link}" />
/page/path/name.html?X=y
Depending on routing and page path configuration.
Full parameter usage¶
<f:uri.typolink parameter="{link}" additionalParams="&u=b" />
/page/path/name.html?X=y&u=b
Depending on routing and page path configuration.
Arguments¶
parameter¶
- DataType
string
- Required
true
- Description
StdWrap.typolink style parameter string
additionalParams¶
- DataType
string
- Required
false
- Description
StdWrap.typolink additionalParams
language¶
- DataType
string
- Required
false
- Description
Link to a specific language - defaults to the current language, use a language ID or "current" to enforce a specific language
addQueryString¶
- DataType
mixed
- Required
false
- Description
If set, the current query parameters will be kept in the URL
addQueryStringMethod¶
- DataType
string
- Required
false
- Description
This argument is not evaluated anymore and will be removed in TYPO3 v12.
addQueryStringExclude¶
- DataType
string
- Required
false
- Description
Define parameters to be excluded from the query string (only active if addQueryString is set)
absolute¶
- DataType
mixed
- Required
false
- Description
Ensure the resulting URL is an absolute URL