.. include:: /Includes.rst.txt
.. _typo3-fluid-uri-resource:
============
uri.resource
============
A ViewHelper for creating URIs to resources.
Examples
========
Defaults
--------
::
Output::
Depending on current extension.
With extension name
-------------------
::
Output::
Arguments
=========
.. _uri.resource_path:
path
----
:aspect:`DataType`
string
:aspect:`Required`
true
:aspect:`Description`
The path and filename of the resource (relative to Public resource directory of the extension).
.. _uri.resource_extensionname:
extensionName
-------------
:aspect:`DataType`
string
:aspect:`Required`
false
:aspect:`Description`
Target extension name. If not set, the current extension name will be used
.. _uri.resource_absolute:
absolute
--------
:aspect:`DataType`
mixed
:aspect:`Required`
false
:aspect:`Description`
If set, an absolute URI is rendered