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 ?

5 Replies

  • kavithams

    You need to add below component for blog article listing

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

    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
    8 years ago

    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>

     

     

  • kavithams's avatar
    kavithams
    Guide
    8 years ago

    VikasB 

    I'm getting the list of articles in the blog board. But I meant, the UI, the way the listing comes up is different from the tkb listing.

    Below is the listing that shows up in blog board after adding "articles" component.

     

     

    We need the below type of UI for articles listing.

    Please help with the same.

  • VikasB's avatar
    VikasB
    Boss
    8 years ago

    kavithams

    Yes, that's the default layout lithium provides. 

    But seems message-list would not work on blog page.