From ec966401c21a831a715bb493c110f5dfcffb78bd Mon Sep 17 00:00:00 2001 From: Jon Uhlmann Date: Thu, 29 Sep 2022 13:33:02 +0200 Subject: [PATCH] Update: Set workspace to live on page --- Resources/Private/Fusion/Component/Page.fusion | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Resources/Private/Fusion/Component/Page.fusion b/Resources/Private/Fusion/Component/Page.fusion index 16a8dc8..3af72da 100644 --- a/Resources/Private/Fusion/Component/Page.fusion +++ b/Resources/Private/Fusion/Component/Page.fusion @@ -1,6 +1,12 @@ prototype(Garagist.Plaintext:Page) < prototype(Garagist.Plaintext:Presentation.Plaintext) { @propTypes.content = ${PropTypes.string.isRequired} + @context { + documentNode = ${q(documentNode).context({'workspaceName': 'live'}).get(0)} + node = ${q(node).context({'workspaceName': 'live'}).get(0)} + site = ${q(site).context({'workspaceName': 'live'}).get(0)} + } + content = null debugUrl = Neos.Neos:NodeUri {