TYPO3 Logo
TypoScript Reference
Release: 8.7

Loading data.

  • Introduction
  • Using and setting TypoScript
    • Entering and structuring TypoScript templates
    • Constants
    • The Constant Editor
    • Register
    • Debugging / Analyzing
  • Simple data types
    • align
    • boolean
    • case
    • date-conf
    • degree
    • dir
    • function name
    • getText
    • GraphicColor
    • HTML code
    • HTML-color
    • imageExtension
    • imgResource
    • integer
    • linkWrap
    • list
    • margins
    • page_id
    • path
    • pixels
    • positive integer
    • resource
    • rotation
    • space
    • strftime-conf
    • string
    • <tag>
    • < tag >-data
    • < tag >-params
    • target
    • UNIX-time
    • VHalign
    • wrap
    • x,y,w,h
  • Top-level objects
    • CONFIG & config
    • constants
    • _GIFBUILDER
    • module
    • PAGE & page
    • plugin
    • temp, styles & lib
    • tt_*
    • resources
    • sitetitle
    • types
  • cObject
    • Content objects (general information)
    • CASE
    • COA, COA_INT
    • CONTENT
    • EDITPANEL
    • FILE
    • FILES
    • FLUIDTEMPLATE
    • HMENU
    • IMAGE
    • IMG_RESOURCE
    • LOAD_REGISTER
    • RECORDS
    • RESTORE_REGISTER
    • SVG
    • TEMPLATE
    • TEXT
    • USER and USER_INT
  • MENU
    • Common properties
    • Common item states for TMENU, GMENU and IMGMENU
    • [menu object].sectionIndex
    • GMENU
    • TMENU
    • TMENUITEM
    • IMGMENU
    • IMGMENUITEM
    • JSMENU
    • JSMENUITEM
  • Other Object Types
    • carray
    • meta
    • GIFBUILDER
      • GIFBUILDER
      • Object names in this section
      • NON-Gifbuilder Objects
  • Functions
    • addParams
    • cache
    • Calc
    • encapsLines
    • filelink
    • Filelink Example
    • HTMLparser
    • HTMLparser_tags
    • if
    • imageLinkWrap
    • imgResource
    • makelinks
    • numberFormat
    • numRows
    • optionSplit
    • parseFunc
    • replacement
    • round
    • select
    • split
    • strPad
    • stdWrap
    • tags
    • typolink
  • Conditions
    • About The Syntax Of Conditions
    • Condition reference
  • Appendix A – PHP include scripts
  • Glossary
  • About This Manual
  • Sitemap
  • Index

PAGE CONTENTS

  • makelinks
  1. Start
  2. Functions
  3. makelinks
View source How to edit Edit on GitHub

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

Property

http.extTarget

Data type

target

Description

The target of the link.

Default

_top

Property

http.wrap

Data type

wrap /stdWrap

Description

Wrap around the link.

Property

http.ATagBeforeWrap

Data type

boolean

Description

If set, the link is first wrapped with http.wrap and then the <A>-tag.

Default

0

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

Property

http.ATagParams

Data type

<A>-params /stdWrap

Description

Additional parameters

Example:

http.ATagParams = class="board"

Property

mailto.wrap

Data type

wrap /stdWrap

Description

Wrap around the link.

Property

mailto.ATagBeforeWrap

Data type

boolean

Description

If set, the link is first wrapped with mailto .wrap and then the <A>-tag.

Default

0

Property

mailto.ATagParams

Data type

<A>-params /stdWrap

Description

Additional parameters

Example:

mailto.ATagParams = class="board"

[tsref:->makelinks]

  • Previous
  • Next
  • Home
  • Contact
  • Issues
  • Repository

Last updated: Mar 27, 2022 07:28

Last rendered: Mar 27, 2022 07:28

TYPO3 Theme 4.6.2

© Copyright since 2012 by the TYPO3 contributors
  • Legal Notice
  • Privacy Policy