page.languageMenu ViewHelper <vhs:page.languageMenu>
¶
ViewHelper for rendering TYPO3 menus in Fluid Require the extension static_info_table.
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
tagName¶
- DataType
string
- Default
'ul'
- Required
false
- Description
Tag name to use for enclosing container, list and flags (not finished) only
tagNameChildren¶
- DataType
string
- Default
'li'
- Required
false
- Description
Tag name to use for child nodes surrounding links, list and flags only
defaultIsoFlag¶
- DataType
string
- Required
false
- Description
ISO code of the default flag
defaultLanguageLabel¶
- DataType
string
- Required
false
- Description
Label for the default language
order¶
- DataType
mixed
- Required
false
- Description
Orders the languageIds after this list
labelOverwrite¶
- DataType
mixed
- Required
false
- Description
Overrides language labels
hideNotTranslated¶
- DataType
boolean
- Required
false
- Description
Hides languageIDs which are not translated
layout¶
- DataType
string
- Default
'flag,name'
- Required
false
- Description
How to render links when using autorendering. Possible selections: name,flag - use fx "name" or "flag,name" or "name,flag"
useCHash¶
- DataType
boolean
- Default
true
- Required
false
- Description
Use cHash for typolink. Has no effect on TYPO3 v9.5+
flagPath¶
- DataType
string
- Required
false
- Description
Overwrites the path to the flag folder
flagImageType¶
- DataType
string
- Default
'svg'
- Required
false
- Description
Sets type of flag image: png, gif, jpeg
linkCurrent¶
- DataType
boolean
- Default
true
- Required
false
- Description
Sets flag to link current language or not
classCurrent¶
- DataType
string
- Default
'current'
- Required
false
- Description
Sets the class, by which the current language will be marked
as¶
- DataType
string
- Default
'languageMenu'
- Required
false
- Description
If used, stores the menu pages as an array in a variable named according to this value and renders the tag content - which means automatic rendering is disabled if this attribute is used
pageUid¶
- DataType
integer
- Required
false
- Description
Optional page uid to use.
configuration¶
- DataType
mixed
- Default
array ()
- Required
false
- Description
Additional typoLink configuration
excludeQueryVars¶
- DataType
string
- Required
false
- Description
Comma-separate list of variables to exclude
languages¶
- DataType
mixed
- Required
false
- Description
Array, CSV or Traversable containing UIDs of languages to render