TYPO3 Logo
VHS: Fluid ViewHelpers
Release: 6.1

Loading data.

  • Installation
  • Configuration
  • Usage
  • fluidtypo3/vhs
    • asset
      • asset.prefetch
      • asset.script
      • asset.style
    • condition
      • context
        • condition.context.isBackend
        • condition.context.isCli
        • condition.context.isDevelopment
        • condition.context.isFrontend
        • condition.context.isProduction
        • condition.context.isTesting
      • form
        • condition.form.hasValidator
        • condition.form.isRequired
      • iterator
        • condition.iterator.contains
      • page
        • condition.page.hasSubpages
        • condition.page.isChildPage
        • condition.page.isLanguage
      • string
        • condition.string.contains
        • condition.string.isLowercase
        • condition.string.isNumeric
        • condition.string.isUppercase
      • type
        • condition.type.isArray
        • condition.type.isBoolean
        • condition.type.isDomainObject
        • condition.type.isFloat
        • condition.type.isInstanceOf
        • condition.type.isInteger
        • condition.type.isObject
        • condition.type.isQueryResult
        • condition.type.isString
        • condition.type.isTraversable
      • variable
        • condition.variable.isNull
        • condition.variable.isset
    • content
      • random
        • content.random.get
        • content.random.render
      • resources
        • content.resources.fal
      • content.get
      • content.info
      • content.render
      • content.resources
    • context
      • context.get
    • count
      • count.bytes
      • count.lines
      • count.substring
      • count.words
    • extension
      • path
        • extension.path.absolute
        • extension.path.relative
        • extension.path.resources
        • extension.path.siteRelative
      • extension.icon
      • extension.loaded
    • form
      • form.fieldName
    • format
      • json
        • format.json.decode
        • format.json.encode
      • placeholder
        • format.placeholder.image
        • format.placeholder.lipsum
      • url
        • format.url.decode
        • format.url.encode
        • format.url.sanitizeString
      • format.append
      • format.case
      • format.dateRange
      • format.eliminate
      • format.hash
      • format.hide
      • format.markdown
      • format.plaintext
      • format.pregReplace
      • format.prepend
      • format.replace
      • format.sanitizeString
      • format.substring
      • format.tidy
      • format.trim
      • format.wordWrap
    • iterator
      • iterator.chunk
      • iterator.column
      • iterator.diff
      • iterator.explode
      • iterator.extract
      • iterator.filter
      • iterator.first
      • iterator.for
      • iterator.implode
      • iterator.indexOf
      • iterator.intersect
      • iterator.keys
      • iterator.last
      • iterator.loop
      • iterator.merge
      • iterator.next
      • iterator.pop
      • iterator.previous
      • iterator.push
      • iterator.random
      • iterator.range
      • iterator.reverse
      • iterator.shift
      • iterator.slice
      • iterator.sort
      • iterator.split
      • iterator.unique
      • iterator.values
    • math
      • math.average
      • math.ceil
      • math.cube
      • math.cubicRoot
      • math.division
      • math.floor
      • math.maximum
      • math.median
      • math.minimum
      • math.modulo
      • math.power
      • math.product
      • math.range
      • math.round
      • math.squareRoot
      • math.square
      • math.subtract
      • math.sum
    • media
      • image
        • media.image.height
        • media.image.mimetype
        • media.image.width
      • media.audio
      • media.exists
      • media.extension
      • media.files
      • media.gravatar
      • media.image
      • media.pdfThumbnail
      • media.picture
      • media.size
      • media.source
      • media.spotify
      • media.video
      • media.vimeo
      • media.youtube
    • menu
      • menu.browse
      • menu.deferred
      • menu.directory
      • menu.list
      • menu.sub
    • once
      • once.cookie
      • once.instance
      • once.session
      • once.standard
    • page
      • header
        • page.header.alternate
        • page.header.canonical
        • page.header.link
        • page.header.meta
        • page.header.title
      • menu
        • page.menu.browse
        • page.menu.deferred
        • page.menu.directory
        • page.menu.list
        • page.menu.sub
      • resources
        • page.resources.fal
      • page.absoluteUrl
      • page.breadCrumb
      • page.footer
      • page.header
      • page.info
      • page.languageMenu
      • page.language
      • page.link
      • page.menu
      • page.resources
      • page.rootline
      • page.staticPrefix
    • random
      • random.number
      • random.string
    • render
      • render.ascii
      • render.cache
      • render.inline
      • render.record
      • render.request
      • render.template
      • render.uncache
    • resource
      • record
        • resource.record.fal
      • resource.collection
      • resource.file
      • resource.image
      • resource.language
      • resource.record
    • security
      • security.allow
      • security.deny
    • site
      • site.name
      • site.url
    • system
      • system.dateTime
      • system.timestamp
      • system.uniqId
    • uri
      • uri.gravatar
      • uri.image
      • uri.request
    • variable
      • register
        • variable.register.get
        • variable.register.set
      • variable.convert
      • variable.extensionConfiguration
      • variable.get
      • variable.pregMatch
      • variable.set
      • variable.typoscript
      • variable.unset
    • asset
    • call
    • const
    • debug
    • l
    • menu
    • or
    • tag
    • try
    • unless
  • Changelog
    • Release: 6.1.2 (2022/06/16)
    • Release: 6.1.1 (2022/05/02)
    • Release: 6.1.0 (2022/05/01)
    • Release: 6.0.5 (2021/01/22)
    • Release: 6.0.4 (2020/09/22)
    • Release: 6.0.3 (2020/06/02)
    • Release: 6.0.2 (2020/06/01)
    • Release: 6.0.1 (2020/05/31)
    • Release: 6.0.0 (2020/01/11)
    • Release: 5.2.0 (2019/04/01)
    • Release: 5.1.1 (2019/01/09)
    • Release: 5.1.0 (2018/10/02)
    • Release: 5.0.1 (2018/06/21)
    • Release: 5.0.0 (2018/06/19)
    • Release: 4.4.0 (2018/03/11)
    • Release: 4.3.3 (2017/10/26)
    • Release: 4.3.2 (2017/09/19)
    • Release: 4.3.0 (2017/08/27)
    • Release: 4.3.0 (2017/08/27)
    • Release: 4.2.0 (2017/04/13)
    • Release: 4.1.0 (2017/03/05)
    • Release: 4.0.0 (2017/01/28)
    • Release: 3.1.0 (2016/10/18)
    • Release: 3.0.1 (2016/07/29)
    • Release: 3.0.0 (2016/07/12)
    • Release: 2.4.0 (2016/09/19)
    • Release: 2.3.3 (2015/05/20)
    • Release: 2.3.2 (2015/04/16)
    • Release: 2.3.1 (2015/03/15)
    • Release: 2.3.0 (2015/03/09)
    • Release: 2.2.0 (2014/12/03)
    • Release: 2.1.4 (2014/11/26)
    • Release: 2.1.3 (2014/11/16)
    • Release: 2.1.2 (2014/10/04)
    • Release: 2.1.1 (2014/10/03)
    • Release: 2.1.0 (2016/10/03)
    • Release: 2.0.2 (2014/09/19)
    • Release: 2.0.1 (2014/09/05)
    • Release: 2.0.0 (2014/09/05)
  • Contribution
  • Changelog
    • Release: 6.1.2 (2022/06/16)
    • Release: 6.1.1 (2022/05/02)
    • Release: 6.1.0 (2022/05/01)
    • Release: 6.0.5 (2021/01/22)
    • Release: 6.0.4 (2020/09/22)
    • Release: 6.0.3 (2020/06/02)
    • Release: 6.0.2 (2020/06/01)
    • Release: 6.0.1 (2020/05/31)
    • Release: 6.0.0 (2020/01/11)
    • Release: 5.2.0 (2019/04/01)
    • Release: 5.1.1 (2019/01/09)
    • Release: 5.1.0 (2018/10/02)
    • Release: 5.0.1 (2018/06/21)
    • Release: 5.0.0 (2018/06/19)
    • Release: 4.4.0 (2018/03/11)
    • Release: 4.3.3 (2017/10/26)
    • Release: 4.3.2 (2017/09/19)
    • Release: 4.3.0 (2017/08/27)
    • Release: 4.3.0 (2017/08/27)
    • Release: 4.2.0 (2017/04/13)
    • Release: 4.1.0 (2017/03/05)
    • Release: 4.0.0 (2017/01/28)
    • Release: 3.1.0 (2016/10/18)
    • Release: 3.0.1 (2016/07/29)
    • Release: 3.0.0 (2016/07/12)
    • Release: 2.4.0 (2016/09/19)
    • Release: 2.3.3 (2015/05/20)
    • Release: 2.3.2 (2015/04/16)
    • Release: 2.3.1 (2015/03/15)
    • Release: 2.3.0 (2015/03/09)
    • Release: 2.2.0 (2014/12/03)
    • Release: 2.1.4 (2014/11/26)
    • Release: 2.1.3 (2014/11/16)
    • Release: 2.1.2 (2014/10/04)
    • Release: 2.1.1 (2014/10/03)
    • Release: 2.1.0 (2016/10/03)
    • Release: 2.0.2 (2014/09/19)
    • Release: 2.0.1 (2014/09/05)
    • Release: 2.0.0 (2014/09/05)
  • Sitemap
  • Index

PAGE CONTENTS

  • page.link
    • Page: Link ViewHelper
    • Arguments
      • additionalAttributes
      • data
      • aria
      • class
      • dir
      • id
      • lang
      • style
      • title
      • accesskey
      • tabindex
      • onclick
      • showAccessProtected
      • classAccessProtected
      • classAccessGranted
      • useShortcutUid
      • useShortcutTarget
      • useShortcutData
      • target
      • rel
      • pageUid
      • additionalParams
      • pageType
      • noCache
      • noCacheHash
      • section
      • linkAccessRestrictedPages
      • absolute
      • addQueryString
      • argumentsToBeExcludedFromQueryString
      • titleFields
      • pageTitleAs
  1. Start
  2. fluidtypo3/vhs
  3. page
  4. page.link
View source

page.link¶

Page: Link ViewHelper¶

Viewhelper for rendering page links

This viewhelper behaves identically to Fluid’s link viewhelper except for it fetches the title of the provided page UID and inserts it as linktext if that is omitted. The link will not render at all if the requested page is not translated in the current language.

Automatic linktext: <v:page.link pageUid="UID" />
Manual linktext:    <v:page.link pageUid="UID">linktext</v:page.link>

Arguments¶

additionalAttributes¶

DataType
mixed
Required
false
Description
Additional tag attributes. They will be added directly to the resulting HTML tag.

data¶

DataType
mixed
Required
false
Description
Additional data-* attributes. They will each be added with a “data-” prefix.

aria¶

DataType
mixed
Required
false
Description
Additional aria-* attributes. They will each be added with a “aria-” prefix.

class¶

DataType
string
Required
false
Description
CSS class(es) for this element

dir¶

DataType
string
Required
false
Description
Text direction for this HTML element. Allowed strings: “ltr” (left to right), “rtl” (right to left)

id¶

DataType
string
Required
false
Description
Unique (in this file) identifier for this HTML element.

lang¶

DataType
string
Required
false
Description
Language for this element. Use short names specified in RFC 1766

style¶

DataType
string
Required
false
Description
Individual CSS styles for this element

title¶

DataType
string
Required
false
Description
Tooltip text of element

accesskey¶

DataType
string
Required
false
Description
Keyboard shortcut to access this element

tabindex¶

DataType
integer
Required
false
Description
Specifies the tab order of this element

onclick¶

DataType
string
Required
false
Description
JavaScript evaluated for the onclick event

showAccessProtected¶

DataType
boolean
Required
false
Description
If TRUE links to access protected pages are always rendered regardless of user login status

classAccessProtected¶

DataType
string
Default
‘protected’
Required
false
Description
Optional class name to add to links which are access protected

classAccessGranted¶

DataType
string
Default
‘access-granted’
Required
false
Description
Optional class name to add to links which are access protected but access is actually granted

useShortcutUid¶

DataType
boolean
Required
false
Description
If TRUE, substitutes the link UID of a shortcut with the target page UID (and thus avoiding redirects) but does not change other data - which is done by using useShortcutData.

useShortcutTarget¶

DataType
boolean
Required
false
Description
Optional param for using shortcut target instead of shortcut itself for current link

useShortcutData¶

DataType
boolean
Required
false
Description
Shortcut to set useShortcutTarget and useShortcutData simultaneously

target¶

DataType
string
Required
false
Description
Target of link

rel¶

DataType
string
Required
false
Description
Specifies the relationship between the current document and the linked document

pageUid¶

DataType
integer
Required
false
Description
UID of the page to create the link and fetch the title for.

additionalParams¶

DataType
mixed
Default
array ()
Required
false
Description
Query parameters to be attached to the resulting URI

pageType¶

DataType
integer
Required
false
Description
Type of the target page. See typolink.parameter

noCache¶

DataType
boolean
Required
false
Description
When TRUE disables caching for the target page. You should not need this.

noCacheHash¶

DataType
boolean
Required
false
Description
When TRUE supresses the cHash query parameter created by TypoLink. You should not need this. Has no effect on TYPO3v11 and above.

section¶

DataType
string
Required
false
Description
The anchor to be added to the URI

linkAccessRestrictedPages¶

DataType
boolean
Required
false
Description
DEPRECATED: Use showAccessProtected instead.

absolute¶

DataType
boolean
Required
false
Description
When TRUE, the URI of the rendered link is absolute

addQueryString¶

DataType
boolean
Required
false
Description
When TRUE, the current query parameters will be kept in the URI

argumentsToBeExcludedFromQueryString¶

DataType
mixed
Default
array ()
Required
false
Description
Arguments to be removed from the URI. Only active if $addQueryString = TRUE

titleFields¶

DataType
string
Default
‘nav_title,title’
Required
false
Description
CSV list of fields to use as link label - default is “nav_title,title”, change to for example “tx_myext_somefield,subtitle,nav_title,title”. The first field that contains text will be used. Field value resolved AFTER page field overlays.

pageTitleAs¶

DataType
string
Required
false
Description
When rendering child content, supplies page title as variable.
  • Previous
  • Next
  • Home
  • Contact
  • Issues
  • Repository

Last updated: Jun 16, 2022 12:00

Last rendered: Jun 16, 2022 12:06

TYPO3 Theme 4.6.2

© Copyright since 2012 by Claus Due & Contributors
  • Legal Notice
  • Privacy Policy