Attention

TYPO3 v10 has reached end-of-life as of April 30th 2023 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.

Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v10 here: TYPO3 ELTS.

widget.uri

A ViewHelper for creating URIs to Extbase actions within widgets.

Examples

URI to the show-action of the current controller:

<f:widget.uri action="show" />

/page/path/name.html?tx_myextension_plugin[widgetIdentifier][action]=show&tx_myextension_plugin[widgetIdentifier][controller]=Standard&cHash=xyz

Depending on current page, routing and page path configuration.

Arguments

useCacheHash

DataType

mixed

Required

false

Description

Deprecated: True whether the cache hash should be appended to the URL

addQueryStringMethod

DataType

string

Required

false

Description

Method to be used for query string

action

DataType

string

Required

false

Description

Target action

arguments

DataType

mixed

Default

array ()

Required

false

Description

Arguments

section

DataType

string

Required

false

Description

The anchor to be added to the URI

format

DataType

string

Required

false

Description

The requested format, e.g. ".html

ajax

DataType

mixed

Required

false

Description

TRUE if the URI should be to an AJAX widget, FALSE otherwise.