Project

General

Profile

Actions

Feature #90203

closed

Make workspace available in TypoScript conditions

Added by Elias Häußler almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2020-01-25
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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]
Actions

Also available in: Atom PDF