This section describes how to publish pages in CQ WCM. To publish a page, you activate its contents. Conversely, to remove a page from publication, you deactivate its contents.
How To Publish Pages
While you are modifying a page, you can lock the page so that other users cannot make changes or accidentally activate the content. In addition, you can preview a page before publishing by selecting Preview Mode in the sidekick.
If you are a system administrator and need to test the publish environment, see How to install CQ author and publish instances.
You can also activate a subtree of multiple pages using Activate Tree on the Tools console.
You can activate pages in the Websites console. After you have opened a page and modified its contents, you return to the Websites console:
In the Websites console, select the page that you want to activate.
CQ WCM activates the selected content. The published page or pages appears in the Websites console with information about who activated the content as well as date and time of activation.
You can also activate a page when you have it open for editing.
After you have opened the page and modified its contents, you:
- Select the Page tab in the Sidekick.
- Click Activate Page.
A message will appear at the top right of the window to confirm that the page has been activated.
To schedule your activation for a later time:
- In the Websites console, go to the Activate menu, and select Activate later.
- In the dialog that opens you provide the date and time for activation and click OK. This creates a version of the page that is activated at the specified time.
Activating later starts a workflow to activate this version of the page at the specified time. Conversely, deactivating later starts a workflow to deactivate this version of the page at a specific time.
If you want to cancel this activation/deactivation, go to the Workflow Console to terminate the corresponding workflow.
To remove a page from the publish environment, you deactivate the content.
To deactivate a page:
In the Websites console, select the page that you want to deactivate.
Select Deactivate, either from the top menu, or the drop-down menu on the selected page item. You are asked to confirm the deletion.
Refresh the Websites console and the content is no longer published:
To schedule your deactivation for a later time:
- In the Website console, go to the Deactivate menu, and select Deactivate later.
- In the dialog that opens you provide the date and time for deactivation and click OK.
Deactivating later starts a workflow to deactivate this version of the page at a specific time.
If you want to cancel this deactivation, go to the Workflow Console to terminate the corresponding workflow.
The colors next to pages in the Websites console indicate publication status.
|Green||Publication was successful. Content is published.|
|Yellow||Publication is pending. Confirmation of publication has not yet been received by the system.|
|Red||Publication failed. There is no connection with the publish instance. This can also mean that the content was deactivated.|
|blank||This page has never been published.|
From the Websites tab you can activate the individual pages. When you have entered, or updated, a considerable number of content pages - all of which are resident under the same root page - it can be easier to activate the entire tree in one action. You can also perform a Dry Run to emulate an activation and highlight which pages would be activated.
To activate a complete tree of your website:
Access thetab in CQ.
Click on- the folder will expand.
Then double-click on.
The following dialog screen will be shown:
Enter the. This specifies the path to the root of the section you want to activate (publish). This page, and all pages underneath, will be considered for activation (or used in the emulation if a Dry Run is selected).
Activate the selection criteria as required:
: only activate pages that have been modified.
: only activate pages that have (already) been activated. Acts as a form of reactivation.
: ignore any pages which have been deactivated.
Select the action you want to perform:
Selectif you want to check which pages would be activated. This is only an emulation, no pages will be activated.
Selectif you want to activate the pages.
To lock a page that you are working on so no one can modify the contents or activate it:
In the Websites tab, select the page that you want to lock.
Double-click the page to open it for edit.
In the Page tab of sidekick, select Lock Page:
A message shows that your page is locked to other users:
CQ WCM displays the page as locked and indicates which user has locked the page.
You can only unlock locked pages if you locked the page or if you have administrator privileges.
To unlock a page:
In the Websites tab, select the page you want to unlock.
Double-click the page to open it for edit.
In the Page tab of sidekick, select Unlock Page:
This mode allows you to preview the page as if it were appearing on your website in its final form.
To access Preview mode:
In the Websites tab, open the page you want to view in Edit mode.
In the Sidekick, click the magnifying glass (preview mode). CQ WCM displays the page as it appears on your web site in its final form.
This section describes how to restore pages that have been previously deleted.
Only pages that have been previously activated can be restored. Each
time you activate a page or tree, CQ WCM creates a new version of that
page or tree.
Only pages that have been previously activated can be restored. Each time you activate a page or tree, CQ WCM creates a new version of that page or tree.
To restore a page to a previous version:
In the Websites tab, navigate to the page you want to restore and select it.
From the top menu select Tools, then Restore:
Selecting Restore Version... lists previous versions of the document. Selecting Restore Tree... lists previous versions of the content tree.
Click Restore. CQ WCM restores the version(s) (or trees) that you select.