...
Different-space publishing allows you to edit draft content in one space, and then publish it to another space on the same server.
...
The Comala Publishing app must be installed to enable different-space publishing. |
Activating different-space publishing
There are two steps to setting up different-space publishing:
Configure the Comala Publishing app to connect the draft and public spaces – see also: How Comala Publishing works
Update your workflow to trigger the publishing process (see below)
Workflow markup
The publishing is triggered by an action macro, {publish-page}, which must be used in a {trigger}.
Code Block | ||||
---|---|---|---|---|
| ||||
{workflow:name=Different-space Publishing} {state:Editing|submit=Review} {state} {state:Review|approved=Published|rejected=Editing} {approval:Review|assignable=true} {state} {state:Published|final=true|updated=Editing} {state} {trigger:statechanged|state=Published} {publish-page} {trigger} {workflow} |
The example markup above based on the example from Same-space publishing, but we've added the {trigger} at the bottom. When the state changes to Published, the trigger is activated and the {publish-page}
macro instructs the Comala Publishing app to synchronize the published content with the other space.
Info |
---|
For different-space publishing all the work is done by the In the example, we have simply chosen to publish the draft space Published state content when the workflow changes to this state. |
Macros
Filter by label (Content by label) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Examples
Filter by label (Content by label) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|