Package

ViewHelpers

ViewHelper Documentation

link.page

A view helper for creating links to TYPO3 pages.

= Examples =

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

<f:link.page pageUid="1" additionalParams="{foo: 'bar'}">page link</f:link.page> page link</f:link.action> (depending on your TS configuration)

<f:link.page pageUid="1" additionalParams="{extension_key: {foo: 'bar'}}">page link</f:link.page> page link</f:link.action> (depending on your TS configuration)

Arguments

additionalAttributes string

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

pageUid string

target page. See TypoLink destination

additionalParams string

query parameters to be attached to the resulting URI

pageType string

type of the target page. See typolink.parameter

noCache string

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

noCacheHash string

set this to supress the cHash query parameter created by TypoLink. You should not need this.

section string

the anchor to be added to the URI

linkAccessRestrictedPages string

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

absolute string

If set, the URI of the rendered link is absolute

addQueryString string

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

argumentsToBeExcludedFromQueryString string

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

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 string

Specifies the tab order of this element

onclick string

JavaScript evaluated for the onclick event

target string

Target of link

rel string

Specifies the relationship between the current document and the linked document

ViewHelper Resources

Schema Resources