Documentation Center

Changing the Scope of Topic Comments from All Publications to Only the Selected Publication

You can modify the application's skin to configure commenting behavior so that comments on the topic, visible in the Comments stream on the Review and Collaboration landing page, are from only the publication that you are viewing.

Before you begin

You must have Develop app permission to customize skins.

About this task

By default, comments that appear in the Comments stream include comments made on the selected (visible) topic in all publications, not just in the selected publication. For example, if you are viewing Topic A in Publication A, you will see comments made on Topic A in Publication A, Publication B, Publication C, ....

Procedure

  1. If you are in a SDL LiveContent Reach tool, click Home in the breadcrumb trail.
    The Review and Collaboration landing page appears.
  2. In the Administration Tools pane, click Developer's Workbench.
    The Developer's Workbench page appears.
  3. In the left pane, click Add Skin.
  4. Enter a name for the skin, and then click Save.
  5. Change skins.
    1. In the left pane, click your custom skin.
    2. In the right pane, click Develop with this Skin, and then click OK.
    3. In response to the Refresh this page to develop with this skin pop-up message, press F5.
  6. Copy the lcContent.js file from the js directory in the base skin to your working directory.
    The following is the path to the skins directory structure In a default installation:
    • Bundled Web Application Server install:
      \SDL LiveContent Reach\db\LiveContent\ui\skins
    • Third-Party Web Application Server install:
      \Apache Software Foundation\Tomcat 7.0\webapps\LiveContent
      \WEB-INF\db\LiveContent\ui\skins
  7. In your working directory, open the lcContent.js file in a text editor and search for
    this.allPubComments
  8. Change this.allPubComments = true to this.allPubComments = false
  9. Save the file.
  10. In the right pane of the Developer's Workbench, click the JavaScript tab.
  11. Click Upload Resources.
  12. Click Select Resources.
    The file browser appears.
  13. Click the lcContent.js file in your working directory, and then click Open.
  14. Click Upload.
    Any comments visible in the Comments stream on the Review and Collaboration landing page will now be visible only from the publication that you are viewing.