Add the Mobile Knowledge Advanced Answer Detail Page
You must implement the mobile answer detail (answer_view.php) page to enable users to open articles with the article details page. Users can see the article content and its details, including document ID, Version, Status, and Published Date using the article details page.
You implement the mobile answer detail page by adding answer_view.php from reference implementation to your
existing instance.
Copy the reference implementation mobile answer detail from here:
/cp/core/framework/views/pages/okcs/mobile/answers/answer_view.phpPlace it here:
/cp/customer/development/views/pages/mobile/answers/
The following is an example of the reference implementation mobile answer detail (answer_view.php) page:
<div class="rn_Container">
<rn:condition config_check="OKCS_ENABLED == true">
<rn:widget path="okcs/OkcsProductCategoryBreadcrumb" display_first_item="false"/>
<rn:meta title="#rn:php:\RightNow\Libraries\SEO::getDynamicTitle('answer', \RightNow\Utils\Url::getParameter('a_id'))#" template="okcs_mobile.php" clickstream="answer_view"/>
<rn:widget path="okcs/OkcsRecommendContent"/>
<rn:widget path="okcs/SubscriptionButton"/>
<section id="rn_PageContent" class="rn_AnswerDetail">
<div id="rn_AnswerText">
<rn:widget path="okcs/AnswerTitle">
<rn:widget path="okcs/AnswerStatus">
<div class="rn_SectionTitle"></div>
<rn:widget path="okcs/AnswerContent">
</div>
<div class="rn_DetailTools rn_HideInPrint">
<div class="rn_Links">
<rn:widget path="okcs/OkcsEmailAnswerLink" />
</div>
</div>
<rn:widget path="okcs/DocumentRating"/>
<rn:widget path="okcs/OkcsRelatedAnswers"/>
</section>
</rn:condition>
</div>