.. include:: /Includes.rst.txt
.. _typo3-fluid-uri-typolink:
============
uri.typolink
============
A ViewHelper to create uris from fields supported by the link wizard.
Example
=======
``{link}`` contains ``19 - - - &X=y``
Please note that due to the nature of typolink you have to provide a full
set of parameters.
If you use the parameter only, then target, class and title will be discarded.
Minimal usage
-------------
::
:samp:`/page/path/name.html?X=y`
Depending on routing and page path configuration.
Full parameter usage
--------------------
::
:samp:`/page/path/name.html?X=y&u=b`
Depending on routing and page path configuration.
Arguments
=========
.. _uri.typolink_parameter:
parameter
---------
:aspect:`DataType`
string
:aspect:`Required`
false
:aspect:`Description`
StdWrap.typolink style parameter string
.. _uri.typolink_additionalparams:
additionalParams
----------------
:aspect:`DataType`
string
:aspect:`Required`
false
:aspect:`Description`
StdWrap.typolink additionalParams
.. _uri.typolink_usecachehash:
useCacheHash
------------
:aspect:`DataType`
mixed
:aspect:`Required`
false
:aspect:`Description`
.. _uri.typolink_addquerystring:
addQueryString
--------------
:aspect:`DataType`
mixed
:aspect:`Required`
false
:aspect:`Description`
.. _uri.typolink_addquerystringmethod:
addQueryStringMethod
--------------------
:aspect:`DataType`
string
:aspect:`Default`
'GET'
:aspect:`Required`
false
:aspect:`Description`
.. _uri.typolink_addquerystringexclude:
addQueryStringExclude
---------------------
:aspect:`DataType`
string
:aspect:`Required`
false
:aspect:`Description`
.. _uri.typolink_absolute:
absolute
--------
:aspect:`DataType`
mixed
:aspect:`Required`
false
:aspect:`Description`
Ensure the resulting URL is an absolute URL