Configuration Options
There are a number of User TSconfig and Page TSconfig properties related to workspaces.
Note
Some of these options are actually handled by the "version" system extension, but apply to workspaces.
Page TSconfig
workspaces
splitPreviewModes
- Data type
- String
- Description
-
Comma-separated list of allowed values for preview modes. Possible values are "slider", "vbox" and "hbox".
Example
workspaces.splitPreviewModes = slider
Copied!will restrict the preview mode to "slider".
- Default
- slider, vbox, hbox
options.workspaces
previewPageId
- Data type
- Integer / fieldReference per table
- Description
-
Page uid used for previewing records on a workspace.
Examples
# Using page 123 for previewing workspaces records (in general) options.workspaces.previewPageId = 123 # Using the pid field of each record for previewing (in general) options.workspaces.previewPageId = field:pid # Using page 123 for previewing workspaces records (for table tx_myext_table) options.workspaces.previewPageId.tx_myext_table = 123 # Using the pid field of each record for previewing (for table tx_myext_table) options.workspaces.previewPageId.tx_myext_table = field:pid
Copied!Note
When used in conjunction with the backend's preview mechanism, this setting takes precedence over the
preview
defined inPage Id TCEMAIN.
.preview
tx_version.workspaces
stageNotificationEmail.subject
(tx_
)
- Data type
- String / Localized string reference (using
LLL:
syntax). - Description
-
The default subject for the stage notification email.
The following markers can be used for replacement:
###SITE_
NAME### ###SITE_
URL### ###WORKSPACE_
TITLE### ###WORKSPACE_
UID### ###ELEMENT_
NAME### ###NEXT_
STAGE### ###COMMENT###
###USER_
REALNAME### ###USER_
USERNAME### ###RECORD_
PATH### ###RECORD_
TITLE###
- Default
- LLL:EXT:version/Resources/Private/Language/emails.xml:subject
stageNotificationEmail.message
(tx_
)
- Data type
- String / Localized string reference (using
LLL:
syntax). - Description
- The default message for the stage notification email. The same markers are available as for the subject (see above).
- Default
- LLL:EXT:version/Resources/Private/Language/emails.xml:message
User TSconfig
options.workspaces
enableMassActions
- Data type
- Boolean
- Description
- If set to "0", the mass actions menu will not be available to users.
- Default
- 1
previewLinkTTLHours
- Data type
- Integer
- Description
- Number of hours until expiry of preview links to workspaces.
- Default
- 48
allowed_languages
- Property
- workspaces.allowed_languages.[workspaceId]
- Data type
- (list of sys\_language ids)
- Description
-
This is a list of sys_language uids which will be allowed in a workspace. This list - if set - will override the allowed languages list in the BE user group configuration.
Example
options.workspaces.allowed_languages.3 = 1,2
Copied!In this example, the user will be restricted to languages with "uid" 1 or 2 in the workspace with "uid" 3.