Package

ViewHelpers

ViewHelper Documentation

v:link.typolink

TypolinkViewhelper

Renders a link with the TypoLink function. Can be used with the LinkWizard

For more info on the typolink function, please consult the offical core-documentation: http://docs.typo3.org/typo3cms/TyposcriptIn45MinutesTutorial/TypoScriptFunctions/Typolink/Index.html

Examples

<!-- tag -->
<v:link.typolink configuration="{typoLinkConfiguration}" />
<v:link.typolink configuration="{object}">My LinkText</v:link.typolink>
<!-- with a {parameter} variable containing the PID -->
<v:link.typolink configuration="{parameter: parameter}" />
<!-- with a {fields.link} variable from the LinkWizard (incl. 'class', 'target' etc.) inside a flux form -->
<v:link.typolink configuration="{parameter: fields.link}" />
<!-- same with a {page} variable from fluidpages -->
<v:link.typolink configuration="{parameter: page.uid}" />
<!-- With extensive configuration -->
<v:link.typolink configuration="{parameter: page.uid, additionalParams: '&print=1', title: 'Follow the link'}">Click Me!</v:link.typolink>

Arguments

configuration anySimpleType

The typoLink configuration

ViewHelper Resources

Schema Resources