TSref/TCEFORM
The TCEFORM is one of the rootline objects of the page TSconfig.
TCEFORM
| Property: | Data type: | Description: |
| [tablename].[field] | TCEFORM_confObj |
Configures whether field should be shown and the items of fields of type "select" Examples: #hide Subtitle in Page if its usage was not defined in TypoScript TCEFORM.pages.subtitle.disabled = 1 #add a new Default Doctype: TCEFORM.pages.doktype.addItems.123 = Extra Page Type |
| [tablename].[field].types.[type] | TCEFORM_confObj | Same as above but configuration is only used for a certain type (Page type "1", tt_content type "text" etc) |
| [tablename].[field].config.[key] | string / array |
Depending on the $TCA type of the field, the allowed keys are:
Examples: #Limit size of pagetitle to 20
TCEFORM.pages.title.config {
max = 20
size = 20
}
# make the abstract field smaler TCEFORM.pages.abstract.config.rows = 1 #Force users to upload an image in the media section TCEFORM.pages.media.config.minitems = 1 |
[page:TCEFORM]
TCEFORM_confObj
| Property: | Data type: | Description: |
| disabled | boolean |
Hide / show fields in Backend. Note that the user rights are stronger in hiding fields. Examples: #hide Subtitle in Page if its usage was not defined in TypoScript TCEFORM.pages.subtitle.disabled = 1 |
| removeItems | list of values |
Removes items of selector fields. Examples: #remove unused CTypes from tt_content as they are implemented by extensions instead TCEFORM.tt_content.CType.removeItems ( header, bullets, uploads, mailform,search, shortcut, html, script, div ) |
| addItems.[itemValue] | string (label, LS) |
Adds items to selector fields. Examples: 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.php:title
}
|
| altLabels.[item_value] | string (label, LS) |
Rename items in selector fields. Attention, the renaming will not work in the List-view overview. Examples: # Rename Frames TCEFORM.tt_content.colPos.section_frame.5 = Important Content |
| disableNoMatchingValueElement | boolean |
If an item in a selctor box is missing and therefore the database contains a value that is not correct with the settings of the moment usually the user will be warned and prevented from saving the element. If this option is set the value will be reset to default instead. |
| noMatchingValue_label | string |
Lable if an element of a select box is not availible anymore. Example: TCEFORM.pages.doktype {
# Alternative "CURRENT VALUE IS NOT ..." label:
noMatchingValue_label = Wert "%s" ist nicht mehr verfügbar.
}
|
| noMatchingValue_label | string |
Lable if an element of a select box is not availible anymore. Example: TCEFORM.pages.doktype {
# Alternative "CURRENT VALUE IS NOT ..." label:
noMatchingValue_label = VALUE "%s" was not available!
}
|
| PAGE_TSCONFIG_ID | integer |
Used in select-types with foreign-table. |
| PAGE_TSCONFIG_IDLIST | comma list of integers |
(See above) |
| PAGE_TSCONFIG_STR | string |
(See above) |
| RTEfullScreenWidth | int+/% |
Width for Text-Fields with RTE |
| linkTitleToSelf | boolean | If set the field can be edited in its own window. Does not work with fields inside palletes. |
[page:TCEFORM] Unformatierten Text hier einfügen