Issue Feature Closed

#90203Make workspace available in TypoScript conditions

Elias Häußler 01/25/20, 16:36 updated 02/27/20, 12:43

Description

The current workspace should be accessible in TypoScript conditions. As the required parameters are already present through the WorkspaceAspect, they can easily added as custom expression language variables.

The following conditions should be added:

Workspace id

[workspace.workspaceId === 0]
    # Current workspace id is: 0
[end]

Is Workspace live/offline?

[workspace.isLive]
    # Current workspace is live
[end]
[workspace.isOffline]
    # Current workspace is offline
[end]

Reviews 1