TYPO3 Logo
TypoScript Reference
Release: 10.4

Loading data.

  • Introduction
  • Using and setting TypoScript
    • Add TypoScript in the backend
    • Add TypoScript in your extension
    • Constants
    • The Constant Editor
    • Register
    • Debugging / Analyzing
  • Simple data types
  • Top-level objects
    • CONFIG & config
    • constants
    • _GIFBUILDER
    • module
    • PAGE
    • plugin
    • temp, styles & lib
    • tt_*
    • resources
    • sitetitle
    • types
  • cObject
    • Content objects (general information)
    • CASE
    • COA, COA_INT
    • CONTENT
    • EDITPANEL
    • FILES
    • FLUIDTEMPLATE
      • dataProcessing
    • HMENU
    • IMAGE
    • IMG_RESOURCE
    • LOAD_REGISTER
    • RECORDS
    • RESTORE_REGISTER
    • SVG
    • TEMPLATE
    • TEXT
    • USER and USER_INT
  • MENU
    • Common properties
    • Common item states
    • [menu object].sectionIndex
    • TMENU
    • TMENUITEM
  • GIFBUILDER
    • GIFBUILDER
    • Object names in this section
    • NON-Gifbuilder Objects
  • Functions
    • addParams
    • cache
    • Calc
    • encapsLines
    • filelink
    • getEnv
    • HTMLparser
    • HTMLparser_tags
    • if
    • imageLinkWrap
    • imgResource
    • makelinks
    • numberFormat
    • numRows
    • optionSplit
    • parseFunc
    • replacement
    • round
    • select
    • split
    • stdWrap
    • strPad
    • tags
    • typolink
  • Conditions
  • Appendix A – PHP include scripts
  • Glossary
  • About This Manual
  • Sitemap
  • Index

PAGE CONTENTS

  • makelinks
    • http.extTarget
    • http.wrap
    • http.ATagBeforeWrap
    • http.keep
    • http.ATagParams
    • mailto.wrap
    • mailto.ATagBeforeWrap
    • mailto.ATagParams
  1. Start
  2. Functions
  3. makelinks
View source How to edit Edit on GitHub

Display settings


Color scheme of code blocks:


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

http.extTarget¶

Property

http.extTarget

Data type

target

Description

The target of the link.

Default

_top

http.wrap¶

Property

http.wrap

Data type

wrap / stdWrap

Description

Wrap around the link.

http.ATagBeforeWrap¶

Property

http.ATagBeforeWrap

Data type

boolean

Description

If set, the link is first wrapped with http.wrap and then the <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://example.org/test/doc.php?id=3 in our text we will get the following results:

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

http.ATagParams¶

Property

http.ATagParams

Data type

<tag>-params / stdWrap

Description

Additional parameters

Example
http.ATagParams = class="board"

mailto.wrap¶

Property

mailto.wrap

Data type

wrap / stdWrap

Description

Wrap around the link.

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"
  • Previous
  • Next
  • Home
  • Contact
  • Issues
  • Repository

Last updated: Feb 25, 2023 09:28

Last rendered: Feb 25, 2023 09:29

  • TYPO3 Theme 4.7.9
  • DRC v3.0.dev30
© Copyright since 2012 by the TYPO3 contributors
  • Legal Notice
  • Privacy Policy
  • Code of Conduct