Package

ViewHelpers

ViewHelper Documentation

v:page.header.canonical

Returns the current canonical url in a link tag.

Arguments

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

pageUid integer

The page uid to check

queryStringMethod string

From which place to add parameters. Values: "GET", "POST" and "GET,POST". See https://docs.typo3.org/typo3cms/TyposcriptReference/Functions/Typolink/Index.html, addQueryString.method

normalWhenNoLanguage boolean

DEPRECATED: Visibility is now handled by core's typolink function.

ViewHelper Resources

Schema Resources