astehlik/typo3-extension-tinyurls

View on GitHub
Documentation/Configuration/TypoScriptReference/Index.rst

Summary

Maintainability
Test Coverage
.. _configuration-typoscript:

TypoScript Reference
--------------------

These additional properties are available for typolink objects when the extension is installed:

.. ### BEGIN~OF~TABLE ###

.. container:: table-row

   Property
         tinyurl

   Data type
         :ref:`t3tsref:data-type-boolean`

   Description
         If you set this to 1 (TRUE) the final typolink URL is converted to a tiny URL.

         You an set some configuration options for the tiny URL generator int the :typoscript:`tinyurl.` namespace (see below).

   Default
         0

.. container:: table-row

   Property
         tinyurl.deleteOnUse

   Data type
         :ref:`t3tsref:data-type-boolean` /:ref:`t3tsref:stdWrap`

   Description
         If this is is true, the tiny URL is deleted from the database on the first hit.
         This makes the most sense when used together with the urlKey property.

   Default
         0

.. container:: table-row

   Property
         tinyurl.validUntil

   Data type
         :ref:`t3tsref:data-type-integer` /:ref:`t3tsref:stdWrap`

   Description
         The timestamp until the URL is valid. If this is set to 0 the URL will never be invalid.

   Default
         0

.. container:: table-row

   Property
         tinyurl.urlKey

   Data type
         :ref:`t3tsref:data-type-string` /:ref:`t3tsref:stdWrap`

   Description
         Normally the URL key is generated automatically. Here you can set you own unique urlKey.
         This may be used together with the deleteOnUse property for creating one-time valid URLs,
         e.g. for activating a subscription.

   Default
         0

.. ###### END~OF~TABLE ######