Forum Discussion

ebonifacio's avatar
2 years ago

Add Root Message (Topic) and Solution to each page

Hello,

How can I add the root message (Topic) and also the Solution to every page? At the moment I only see them on the first page, but If I go to pagination number 2  I only see the comment list. 

 

I hope I was clear on my question

  • MattV's avatar
    MattV
    2 years ago

    SheenaK Forums v5 primarily enables threading, correct. But as a part of that, I think it allows the root message to appear on every page. 

    Atlas uses Forums v5, which is how they are able to do that. 

    This is the Quilt XML for the Atlas community ForumTopicPage.

    <?xml version="1.0" encoding="UTF-8"?>
    <quilt layout="two-column.main-side" nestable="false" disableTopCssClass="false">
      <add to="common-footer">
        <component id="quilt:Footer"/>
      </add>
      <add to="side-content">
        <component id="forums.widget.recent-threads" mode="slim"/>
        <component id="recommendations.widget.recommended-content-taplet" mode="slim"/>
        <component id="theme-lib.related-topics"/>
        <component id="forums.widget.related-messages-taplet" mode="slim"/>
        <component id="custom_content_15"/>
      </add>
      <add to="main-content">
        <component id="Lingotek_CP_Dashboard"/>
        <component id="forums.widget.related-messages-taplet" mode="slim"/>
        <component id="topic-message"/>
        <component id="thread-pager"/>
        <component id="solution-count-conditional"/>
        <component id="solution-list"/>
        <component id="reply-count-conditional"/>
        <component id="message-pager"/>
        <component id="message-list-detail-with-inline-editors"/>
        <component id="comment-editor-submit-button-alert-forum"/>
      </add>
      <add to="common-header">
        <component id="quilt:Header"/>
        <component id="custom_content_19"/>
      </add>
      <remove from="sub-header-main" for="Header">
        <component id="common.widget.page-title"/>
      </remove>
    </quilt>

     

  • MattV's avatar
    MattV
    Khoros Staff

    First, check in Studio > Features that "Forums" is set to version 5. If it isn't already, you may need to read up on https://community.khoros.com/t5/Forums/Feature-versions-Forums/ta-p/25948#Ver5 and see what the differences are in each version. 

    In particular, Forums v5 might require some extra work to get it to work properly.

    Then, I know in admin > Features > Accepted Solutions at the bottom there is a setting to float the accepted solutions to the top of threads, though I don't think it does this for every page. Might need a custom component to do that.

    I thought there was a setting to show the original message on every page, but I can't find it. Simply adding the topic-message component to the forum topic page quilt might be enough.

  • Hi MattV , I'm on the same team as ebonifacio 

    Forums v5 seems to relate to threaded replies and inline responses, so does not seem to help with what we're looking for.

    By way of an example, this thread has more than 1 page of replies, and when you navigate through the pages the root message remains at the top. Can you share the XML layout for this page perhaps?

    I'm sure we're just missing something simple.

    • MattV's avatar
      MattV
      Khoros Staff

      SheenaK Forums v5 primarily enables threading, correct. But as a part of that, I think it allows the root message to appear on every page. 

      Atlas uses Forums v5, which is how they are able to do that. 

      This is the Quilt XML for the Atlas community ForumTopicPage.

      <?xml version="1.0" encoding="UTF-8"?>
      <quilt layout="two-column.main-side" nestable="false" disableTopCssClass="false">
        <add to="common-footer">
          <component id="quilt:Footer"/>
        </add>
        <add to="side-content">
          <component id="forums.widget.recent-threads" mode="slim"/>
          <component id="recommendations.widget.recommended-content-taplet" mode="slim"/>
          <component id="theme-lib.related-topics"/>
          <component id="forums.widget.related-messages-taplet" mode="slim"/>
          <component id="custom_content_15"/>
        </add>
        <add to="main-content">
          <component id="Lingotek_CP_Dashboard"/>
          <component id="forums.widget.related-messages-taplet" mode="slim"/>
          <component id="topic-message"/>
          <component id="thread-pager"/>
          <component id="solution-count-conditional"/>
          <component id="solution-list"/>
          <component id="reply-count-conditional"/>
          <component id="message-pager"/>
          <component id="message-list-detail-with-inline-editors"/>
          <component id="comment-editor-submit-button-alert-forum"/>
        </add>
        <add to="common-header">
          <component id="quilt:Header"/>
          <component id="custom_content_19"/>
        </add>
        <remove from="sub-header-main" for="Header">
          <component id="common.widget.page-title"/>
        </remove>
      </quilt>