Configuration
This Extension is configured by global TypoScript config, typolink options and TYPO3_CONF_VARS.
Global TypoScript configuration
JumpURL can be configured globally in the config
TypoScript namespace.
jumpurl_enable
- Property
- jumpurl_enable
- Data type
- boolean
- Description
- Enables JumpURL for all supported contexts for all generated links.
jumpurl_mailto_disable
- Property
- jumpurl_mailto_disable
- Data type
- boolean
- Description
- Disables the use of JumpURL when linking to email-adresses.
typolink settings
JumpURL options can be provided in the typolink and the filelink configuration.
The typolink
options can be provided directly in the typolink
namespace,
e.g.:
mylink = TEXT
mylink.value = typo3.org
mylink.typolink.parameter = http://www.typo3.org
mylink.typolink.jumpurl = 1
The filelink
options can be provided in the typolink
property:
mylink = TEXT
mylink.value = text.txt
mylink.filelink.path = fileadmin/
mylink.filelink.typolinkConfiguration.jumpurl = 1
The following options are available for JumpURLs.
jumpurl
- Property
- jumpurl
- Data type
- boolean
- Description
-
Enables JumpURL for the current link if it points to an external URL or a file.
Please note that this does not work for internal links or for email links.
To enable JumpURL for email links the global setting needs to be used.
jumpurl.forceDisable
- Property
- jumpurl.forceDisable
- Data type
- boolean
- Description
-
Disables JumpURL.
This will override the global setting config.jumpurl_enable for the current link.
jumpurl.secure
- Property
- jumpurl.secure
- Data type
- boolean
- Description
-
Enables JumpURL secure. This option is only available for file links.
If set, then the file pointed to by jumpurl is not redirected to, but rather it's read from the file and returned with a correct header.
This option adds a hash and locationData to the URL and there MUST be access to the record in order to download the file.
If the file position on the server is furthermore secured by a .htaccess file preventing ANY access, you've got secure download here!
jumpurl.secure.mimeTypes
- Property
- jumpurl.secure.mimeTypes
- Data type
- string
- Description
-
With this option you can specify an alternative mime type that is sent in the HTTP Content-Type header when the file is delivered to the user. By default the automatically detected mime type will be used.
Syntax: [ext] = [MIME type1], [ext2] = [MIME type2], ...
Example:
jumpurl.secure = 1 jumpurl.secure.mimeTypes = pdf=application/pdf, doc=application/msword
Copied!
TYPO3_CONF_VARS
The setting $GLOBALS
is used
for generating the hashes submitted in the URLs.