Tourenvorschläge
huhu4
Download der Tourendaten
Download der GPS-Tracks (01.08.18_Kempen.gpx) als GPX, KML (GoogleEarth), Overlay
Beschreibung
(Applies to select-types only.)
This keeps in the list only the items defined here. All others are removed.
Example:
<pre>TCEFORM.pages.doktype { # Show only standard and "Spacer" page types keepItems = 1,199 } </pre>
Property
removeItems
Data type
(list of values)
Description
(applies to select-types only)
This removes the items from the list which has a value found in this comma list of values.
Example:
<pre>TCEFORM.pages.doktype { # Remove the "Recycler" and "Spacer" page type options: removeItems = 199, 255 } </pre>
Property
addItems.[itemValue]
Data type
string (localized)
Description
(applies to select-types only)
This will add elements to the list. Notice that the added elements might be removed if the selector represents records. In that case only still existing records will be preserved.
The subkey icon will allow to add your own icons to new values.
Example:
<pre>TCEFORM.pages.doktype { # Creates a new page type option: addItems.123 = New Page type! # Creates yet a page type with "locallang" title: addItems.124 = LLL:EXT:lang/locallang_tca.xlf:title addItems.124.icon = EXT:myExt/icon.png } </pre>
This example extends the options for Page types with two new items:
Warning
This example shows the principle of adding adhoc-items to a selector box in TYPO3, but you should not add new page types or Content Element types this way!
For adding new page types, refer to Core APIs.
Property
disableNoMatchingValueElement
Data type
boolean
Description
(applies to select-types only)
If a selector box value is not available among the options in the box, the default behavior of TYPO3 is to preserve the value and to show a label which warns about this special state:
If disableNoMatchingValueElement is set, the element “INVALID VALUE” will not be added to the list.
Example:
<pre>TCEFORM.pages.doktype { # "INVALID VALUE ..." label will never show up: disableNoMatchingValueElement = 1</pre>
Stand: 18.02.2021, 21:15 Uhr