TYPO3 Logo
TypoScript Template Reference
Release: master

Loading data.

  • Introduction
  • Glossary
  • 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
  • Content Objects (cObject)
    • Content objects (general information)
    • CASE
    • Content object array - COA, COA_INT
    • CONTENT
    • EDITPANEL
    • FILES
    • FLUIDTEMPLATE
      • dataProcessing
        • CommaSeparatedValueProcessor
        • DatabaseQueryProcessor
        • FilesProcessor
        • GalleryProcessor
        • LanguageMenuProcessor
        • MenuProcessor
        • SiteProcessor
        • SplitProcessor
        • Custom data processors
    • HMENU
    • IMAGE
    • IMG_RESOURCE
    • LOAD_REGISTER
    • RECORDS
    • RESTORE_REGISTER
    • SVG
    • TEXT
    • USER and USER_INT
  • MENU
    • TMENU properties
    • TMENU item states
    • TMENU.sectionIndex
    • TMENU
    • TMENUITEM
  • GIFBUILDER
    • GIFBUILDER
    • Object names in this section
    • NON-Gifbuilder Objects
  • Functions
    • cache
    • Calc
    • encapsLines
    • 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
  • 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
Edit on GitHub View source

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:

http://www.example.com

mailto:name@example.com

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 http://www.example.com/test/doc.php?id=3 in our text we will get the following results:

http.keep = "":                   www.example.com
http.keep = "scheme":             http://www.example.com
http.keep = "scheme,path":        http://www.example.com/test/doc.php
http.keep = "scheme,path,query":  http://www.example.com/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
  • Discussions
  • Issues
  • Repository

Last updated: Jan 06, 2021 08:37

Last rendered: Jan 18, 2021 12:09

TYPO3 Theme 4.4.2

© Copyright since 2000 by the TYPO3 Documentation Team
  • Legal Notice
  • Privacy Policy