• ViewHelper Reference
    8.7
  • typo3/backend
    • avatar
  • typo3/belog
    • be
      • be.pagePath
    • form
      • form.translateLabelSelect
    • errorIcon
    • formatDetails
    • historyEntry
    • isExtensionLoaded
    • username
    • workspaceTitle
  • typo3/beuser
    • display
      • display.pages
      • display.sysFileMounts
      • display.sysLanguage
    • arrayElement
    • editRecord
    • issueCommand
    • permissions
    • removeUser
    • spriteIconForRecord
    • switchUser
  • typo3/core
    • iconForRecord
    • icon
  • typo3/cshmanual
    • format
  • typo3/css_styled_content
    • link
      • link.clickEnlarge
  • typo3/documentation
    • formats
  • typo3/extensionmanager
    • be
      • be.trigger
    • form
      • form.typoScriptConstants
    • format
      • format.implode
      • format.jsonEncode
    • link
      • link.action
    • configureExtension
    • downloadExtensionData
    • downloadExtension
    • image
    • installationStateCssClass
    • processAvailableActions
    • reloadSqlData
    • removeExtension
    • showExtensionVersions
    • timeSinceLastUpdate
    • toggleExtensionInstallationState
    • typo3Dependency
    • updateScript
  • typo3/filelist
    • link
      • link.clickMenuOnIcon
    • uri
      • uri.deleteFile
      • uri.editFileContent
      • uri.editSysFileMetadataRecord
      • uri.renameFile
      • uri.replaceFile
  • typo3/fluid
    • be
      • buttons
        • be.buttons.csh
        • be.buttons.shortcut
      • menus
        • be.menus.actionMenuItemGroup
        • be.menus.actionMenuItem
        • be.menus.actionMenu
      • security
        • be.security.ifAuthenticated
        • be.security.ifHasRole
      • widget
        • be.widget.paginate
      • be.container
      • be.infobox
      • be.pageInfo
      • be.pagePath
      • be.pageRenderer
      • be.tableList
    • debug
      • debug.render
    • form
      • select
        • form.select.optgroup
        • form.select.option
      • form.button
      • form.checkbox
      • form.hidden
      • form.password
      • form.radio
      • form.select
      • form.submit
      • form.textarea
      • form.textfield
      • form.upload
      • form.validationResults
    • format
      • format.bytes
      • format.case
      • format.crop
      • format.currency
      • format.date
      • format.html
      • format.htmlentitiesDecode
      • format.htmlentities
      • format.json
      • format.nl2br
      • format.number
      • format.padding
      • format.stripTags
      • format.urlencode
    • link
      • link.action
      • link.email
      • link.external
      • link.page
      • link.typolink
    • security
      • security.ifAuthenticated
      • security.ifHasRole
    • uri
      • uri.action
      • uri.email
      • uri.external
      • uri.image
      • uri.page
      • uri.resource
      • uri.typolink
    • widget
      • widget.autocomplete
      • widget.link
      • widget.paginate
      • widget.uri
    • base
    • cObject
    • case
    • debug
    • flashMessages
    • form
    • image
    • media
    • renderChildren
    • switch
    • translate
  • typo3/fluid_styled_content
    • link
      • link.clickEnlarge
  • typo3/form
    • be
      • be.renderContentElementPreview
    • form
      • form.checkbox
      • form.datePicker
      • form.timePicker
      • form.uploadedResource
    • form
    • gridColumnClassAutoConfiguration
    • plainTextMail
    • renderAllFormValues
    • renderRenderable
    • render
    • translateElementError
    • translateElementProperty
  • typo3/indexed_search
    • format
      • format.dateTime
      • format.flagValue
      • format.groupList
    • pageBrowsingResults
    • pageBrowsing
  • typo3/install
    • file
      • file.exists
      • file.imageDimension
      • file.relativePath
      • file.size
    • format
      • format.crop
      • format.imageMagickCommands
      • format.phpErrorCode
    • object
      • object.arrayValueByKey
    • uri
      • uri.action
    • constant
    • phpInfo
  • typo3/reports
    • icon
  • typo3/scheduler
    • moduleLink
  • typo3/sys_note
    • deleteLink
    • editLink
  • typo3fluid/fluid
    • cache
      • cache.disable
      • cache.static
      • cache.warmup
    • format
      • format.cdata
      • format.htmlspecialchars
      • format.printf
      • format.raw
    • alias
    • case
    • comment
    • count
    • cycle
    • debug
    • defaultCase
    • else
    • for
    • groupedFor
    • if
    • layout
    • or
    • render
    • section
    • spaceless
    • switch
    • then
    • variable
 
ViewHelper Reference
  • Docs »
  • typo3/fluid »
  • link »
  • link.typolink
  • View page source

Next Previous

link.typolink¶

A ViewHelper to create links from fields supported by the link wizard

Examples¶

{link} contains “19 _blank - “testtitle with whitespace” &X=y”

minimal usage:

<f:link.typolink parameter="{link}">
Linktext
</f:link.typolink>

Output:

<a href="index.php?id=19&X=y" title="testtitle with whitespace" target="_blank">
Linktext
</a>

Full parameter usage:

<f:link.typolink parameter="{link}" target="_blank" class="ico-class" title="some title" additionalParams="&u=b" additionalAttributes="{type:'button'}" useCacheHash="true">
Linktext
</f:link.typolink>

Output:

<a href="index.php?id=19&X=y&u=b" title="some title" target="_blank" class="ico-class" type="button">
Linktext
</a>

Arguments¶

parameter¶

DataType
string
Required
true
Description
StdWrap.typolink style parameter string

target¶

DataType
string
Required
true

Description

class¶

DataType
string
Required
true

Description

title¶

DataType
string
Required
true

Description

additionalParams¶

DataType
string
Required
true

Description

additionalAttributes¶

DataType
mixed
Default
array ()
Required
true

Description

useCacheHash¶

DataType
mixed
Required
true

Description

addQueryString¶

DataType
mixed
Required
true

Description

addQueryStringMethod¶

DataType
string
Default
‘GET’
Required
true

Description

addQueryStringExclude¶

DataType
string
Required
true

Description

absolute¶

DataType
mixed
Required
true
Description
Ensure the resulting URL is an absolute URL
Next Previous

View page source

© Copyright since 2018 by the TYPO3 Documentation Team

Last rendered on Oct 21, 2019 08:07

Built with Sphinx and t3SphinxThemeRtd. Report theme issues here.