Project

General

Profile

Actions

Feature #90203

closed

Make workspace available in TypoScript conditions

Added by Elias Häußler over 4 years ago. Updated about 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 #1

Updated by Gerrit Code Review over 4 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63035

Actions #2

Updated by Gerrit Code Review over 4 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63035

Actions #3

Updated by Anonymous over 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Benni Mack about 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF