Forum Discussion

kavithams's avatar
8 years ago

Message-list component not working in Blog Page

The message listing component is being used in discussion and tkb Pages. While I try to use the same component for a Blog Page it does not give the list of blogs in that blog board. How to get the default listing for BlogPage ?

  • kavithams

    You need to add below component for blog article listing

    <component id="articles" quiltName="BlogMessage"/>
    • kavithams's avatar
      kavithams
      Guide

      Hi VikasB

      Thanks for your reply. Adding that "Articles" component you mentioned, does give the blog article listing.But this listing is different from that of the TKB listing which uses "message-list" component. How can we get the message-list listing for Blogs?

      Also the above two components don't appear in the component search box when we type for it. Why is that ?

      • VikasB's avatar
        VikasB
        Boss

        kavithams

        If you are not getting the article in search results than switch the page tab in XML view and add this component in the main section on the blog page. Like below

        <add to="main-content">
            <component id="forums.widget.menu-bar" displayNewPostButton="false"/>
            <component id="archive-info"/>
            <component id="filtered-by"/>
            <component id="articles" quiltName="BlogMessage"/>
            <component id="paging"/>
          </add>

        + check the blog message page also, it should contain  components in the main section(default view)

          <add to="main">
            <component id="message-view.widget.subject" useBatchProcessingCheckbox="setting:layout.show_batch_checkboxes" disableSubjectLink="false"/>
            <component id="teaser"/>
            <component id="tags-with-title-link"/>
            <component id="labels"/>
          </add>