Add Recently Viewed Articles to the Social Page

Users can see the discussions about a selected community questions on the social detail page. You can add recently viewed knowledge base articles to the social detail page so that they will see recently viewed articles in addition to community discussions. You add them by including the recently viewed answers widget in the social detail page.

Users can see five recently viewed articles by default. You can set the limit to a value to five or fewer using the widget’s content count attribute.

  1. Edit the file:

    cp/customer/development/views/pages/social/questions/detail.php
  2. Add the recently viewed articles widget code by adding this line:

    <rn:widget path="okcs/OkcsRecentlyViewedContent"/>

    within this section:

    <div class="rn_SideRail">