TYPO3 Logo
TypoScript Explained
Options
Give feedback View source How to edit Edit on GitHub Full documentation (single file)

TypoScript Explained

About TypoScript

  • Introduction
  • Getting started
    • Quick overview
    • First steps
    • Page
    • Content records
    • Create a menu with TypoScript
    • fluid_styled_content
    • TypoScript objects
      • Objects executing database queries
      • Objects rendering content
      • Further objects
    • TypoScript functions
      • stdWrap
      • getText / data
      • imgResource
      • select
      • split
      • if
      • typolink
      • parseFunc
    • Next steps
  • Usage
    • TypoScript in Sites
    • TypoScript in Extensions
    • Backend Module
    • Access TypoScript in an extension
    • Constants
    • Register
    • Debugging / analyzing
  • Using and setting TSconfig
    • Setting page TSconfig
    • Setting user TSconfig
    • Conditions
    • PHP API
  • Syntax
    • Identifiers
    • Code blocks
    • Operators
    • Comments
    • Conditions
    • File imports
    • String formats
    • TSconfig differences

Frontend TypoScript

  • Page
    • PAGE Examples
  • Content Objects (cObject)
    • Content objects (general information)
    • CASE
    • Content object array - COA, COA_INT
    • CONTENT
    • EXTBASEPLUGIN
    • FILES
    • FLUIDTEMPLATE
    • HMENU
      • TMENU
        • TMENUITEM
    • IMAGE
      • GIFBUILDER
        • Examples
        • Colors in TypoScript GIFBUILDER
        • Note on (+calc)
        • Properties
        • GIFBUILDER objects
          • ADJUST
          • BOX
          • CROP
          • EFFECT
          • ELLIPSE
          • EMBOSS
          • IMAGE
          • OUTLINE
          • SCALE
          • SHADOW
          • TEXT
          • WORKAREA
    • IMG_RESOURCE
    • LOAD_REGISTER
    • PAGEVIEW
    • RECORDS
    • RESTORE_REGISTER
    • SVG
    • TEXT
    • USER and USER_INT
  • Data processors
    • comma-separated-value
    • database-query
    • files
    • flex-form
    • gallery
    • language-menu
    • menu
      • Browse
      • Categories
      • Directory
      • Keywords
      • Language
      • List
      • Rootline / Breadcrumb
      • Updated
      • Userfunction
    • page-content
    • record-transformation
    • site
    • site-language
    • split
    • Custom data processors
  • Config
  • Top-level objects
    • page & config
    • module
    • plugin
    • Reserved top-level objects
  • Functions
    • cache
    • Calc
    • Data / getText
    • encapsLines
    • getEnv
    • HTMLparser
    • HTMLparser_tags
    • if
    • imageLinkWrap
    • imgResource
    • makelinks
    • numberFormat
    • numRows
    • optionSplit
    • parseFunc
    • replacement
    • round
    • select
    • split
    • stdWrap
    • strPad
    • tags
    • typolink
    • Wrap
  • Conditions

Backend TypoScript

  • Page TSconfig Reference
    • colorPalettes
    • mod
      • SHARED
      • web_info
      • web_layout
        • Backend layouts
      • web_list
      • web_view
      • wizards
    • options
    • RTE
    • TCAdefaults
    • TCEFORM
    • TCEMAIN
    • templates
    • tx_*
  • User TSconfig reference
    • admPanel (EXT:adminpanel)
    • auth
    • options
    • page
    • permissions
    • setup
    • TCAdefaults
    • tx_*

Appendix

  • PHP and TypoScript
  • Glossary
  • Sitemap
  1. TypoScript Explained
  2. Functions
  3. makelinks
Give feedback 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
Copied!
  • Properties
    • http
      • http.extTarget
      • http.wrap
      • http.ATagBeforeWrap
      • http.keep
      • http.ATagParams
    • mailto
      • mailto.wrap
      • mailto.ATagBeforeWrap
      • mailto.ATagParams

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
Copied!

http.extTarget

http.extTarget

http.extTarget
Type
string
Default
_top

The target of the link.

http.wrap

http.wrap

http.wrap
Type
Wrap / stdWrap

Wrap around the link.

http.ATagBeforeWrap

http.ATagBeforeWrap

http.ATagBeforeWrap
Type
boolean
Default
0

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

http.keep

http.keep

http.keep
Type
list: "scheme","path","query"

As default the link-text will be the full domain-name of the link.

Examples

With the URL https://example.org/test/doc.php?id=3 in our text we will get the following results:

EXT:site_package/Configuration/TypoScript/setup.typoscript
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

http.ATagParams

http.ATagParams
Type
string / stdWrap

Additional parameters

Examples
EXT:site_package/Configuration/TypoScript/setup.typoscript
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
Copied!

mailto.wrap

mailto.wrap

mailto.wrap
Type
Wrap / stdWrap

Wrap around the link.

mailto.ATagBeforeWrap

mailto.ATagBeforeWrap

mailto.ATagBeforeWrap
Type
boolean
Default
0

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

mailto.ATagParams

mailto.ATagParams

mailto.ATagParams
Type
string / stdWrap

Additional parameters

Examples
EXT:site_package/Configuration/TypoScript/setup.typoscript
mailto.ATagParams = class="board"
Copied!
  • Previous
  • Next
Reference to the headline

Copy and freely share the link

This link target has no permanent anchor assigned. You can make a pull request on GitHub to suggest an anchor. The link below can be used, but is prone to change if the page gets moved.

Copy this link into your TYPO3 manual.

  • Home
  • Contact
  • Issues
  • Repository

Last rendered: Apr 25, 2025 15:36

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