uri.external ViewHelper <f: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://www.typo3.org" />
Copied!
https://www.typo3.org
Custom default scheme¶
<f:uri.external uri="typo3.org" defaultScheme="ftp" />
Copied!
ftp://typo3.org
Arguments¶
uri¶
- DataType
- string
- Required
- true
- Description
- Target URI
defaultScheme¶
- DataType
- string
- Default
- 'https'
- Required
- false
- Description
- Scheme the href attribute will be prefixed with if specified $uri does not contain a scheme already