Attention
TYPO3 v11 has reached end-of-life as of October 31th 2024 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.
Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v10 here: TYPO3 ELTS.
makelinks
makelinks
substitutes all appearances of web addresses or mail links
with a real link-tag. Web addresses and mail links must be contained in
the text in the following form:
https://example.org
mailto:name@example.org
Properties
http
Substitutes all external web addresses with a link tag so they are displayed as a link.
Can handle links of the form:
https://example.org
http://example.org
http.extTarget
- Property
- http.extTarget
- Data type
- target
- Description
- The target of the link.
- Default
- _top
http.wrap
http.ATagBeforeWrap
- Property
- http.ATagBeforeWrap
- Data type
- boolean
- Description
- If set, the link is first wrapped with
http.
and then thewrap <a>
-tag. - Default
- 0
http.keep
- Property
- http.keep
- Data type
- list: "scheme","path","query"
- Description
- As default the link-text will be the full domain-name of the link.
- Example
-
With the URL
https://
in our text we will get the following results:example. org/ test/ doc. php?id=3 http.keep = "": # example.org http.keep = "scheme": # https://example.org http.keep = "scheme,path": # https://example.org/test/doc.php http.keep = "scheme,path,query": # https://example.org/test/doc.php?id=3
Copied!
http.ATagParams
- Property
- http.ATagParams
- Data type
- tag-params / stdWrap
- Description
- Additional parameters
- Example
-
http.ATagParams = class="board"
Copied!
mailto
Substitutes all appearances of mail addresses with a link tag. Mail addresses must be contained in the text in the following form:
mailto:name@example.org
mailto.wrap
mailto.ATagBeforeWrap
- Property
- mailto.ATagBeforeWrap
- Data type
- boolean
- Description
- If set, the link is first wrapped with mailto
wrap
and then the<a>
-tag. - Default
- 0
mailto.ATagParams
- Property
- mailto.ATagParams
- Data type
- tag-params / stdWrap
- Description
- Additional parameters
- Example
-
mailto.ATagParams = class="board"
Copied!