ViewHelper Documentation


A view helper for creating links to extbase actions.

= Examples =

<f:link.action action="show">action link</f:link.action> action link</f:link.action> (depending on the current page and your TS configuration)


additionalAttributes anySimpleType

Additional tag attributes. They will be added directly to the resulting HTML tag.

data anySimpleType

Additional data-* attributes. They will each be added with a "data-" prefix.

class string

CSS class(es) for this element

dir string

Text direction for this HTML element. Allowed strings: "ltr" (left to right), "rtl" (right to left)

id string

Unique (in this file) identifier for this HTML element.

lang string

Language for this element. Use short names specified in RFC 1766

style string

Individual CSS styles for this element

title string

Tooltip text of element

accesskey string

Keyboard shortcut to access this element

tabindex integer

Specifies the tab order of this element

onclick string

JavaScript evaluated for the onclick event

name string

Specifies the name of an anchor

rel string

Specifies the relationship between the current document and the linked document

rev string

Specifies the relationship between the linked document and the current document

target string

Specifies where to open the linked document

action string

Target action

controller string

Target controller. If NULL current controllerName is used

extensionName string

Target Extension Name (without "tx_" prefix and no underscores). If NULL the current extension name is used

pluginName string

Target plugin. If empty, the current plugin name is used

pageUid anySimpleType

Target page. See TypoLink destination

pageType anySimpleType

Type of the target page. See typolink.parameter

noCache anySimpleType

Set this to disable caching for the target page. You should not need this.

noCacheHash anySimpleType

Set this to suppress the cHash query parameter created by TypoLink. You should not need this.

section string

The anchor to be added to the URI

format string

The requested format, e.g. ".html

linkAccessRestrictedPages anySimpleType

If set, links pointing to access restricted pages will still link to the page even though the page cannot be accessed.

additionalParams anySimpleType

Additional query parameters that won't be prefixed like $arguments (overrule $arguments)

absolute anySimpleType

If set, the URI of the rendered link is absolute

addQueryString anySimpleType

If set, the current query parameters will be kept in the URI

argumentsToBeExcludedFromQueryString anySimpleType

Arguments to be removed from the URI. Only active if $addQueryString = TRUE

addQueryStringMethod string

Set which parameters will be kept. Only active if $addQueryString = TRUE

arguments anySimpleType

Arguments for the controller action, associative array

ViewHelper Resources

Schema Resources