Attention

TYPO3 v9 has reached its end-of-life September 30th, 2021 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.

You can order Extended Long Term Support (ELTS) here: TYPO3 ELTS.

uri.external

A ViewHelper for creating URIs to external targets. Currently the specified URI is simply passed through.

Examples

Default

<f:uri.external uri="https://typo3.org" />

https://typo3.org

Custom default scheme

<f:uri.external uri="typo3.org" defaultScheme="ftp" />

ftp://typo3.org

Arguments

uri

DataType

string

Required

false

Description

Target URI

defaultScheme

DataType

string

Default

'http'

Required

false

Description

Scheme the href attribute will be prefixed with if specified $uri does not contain a scheme already