Forum Discussion

vishwajit_shind's avatar
10 years ago

Need to create custom component like message list OOB component

HI All,

 

Can anyone suggest me how will i able to bring the forum images by the topic current status. As we see them in the message list OOB component used on board page. The Images differ by the status of the topic in the message list and i want to implement in the custom component.

Thank you,

 

regards,

Vishwajit Shinde.

  • vishwajit_shind- Before moving onto the custom component for the message list, have you considered that you'll loose many OOB features, such as batch processing, subscribing etc. As an option, you can contact Lithium support and get some edits to the existing component to look like your new design. They will add few grids and then you can add your code to it. You'll need to share your designs etc. 

     

    Otherwise, there would be too many conditions to handle, the floating threads, icons etc. Here is an option of OOB boards page with new design. https://community.opentable.com/t5/Gift-Cards/bd-p/ot-gifts

     

    I hope this helps.

     

    • vishwajit_shind's avatar
      vishwajit_shind
      Expert
      This component will be placed on category page and the message list OOB component on Forum page will remain on that page.
      So no need to use option functionality on Category page.
      • phani's avatar
        phani
        Advisor

        Hi vishwajit_shind,

         

        Not sure i fully understand your question. But using following code snippet you can get each thread that displaying in message list on Forum page/ TKB page. You can also add images next to the each thread.

         

          $('.lia-summary-view-message-subject').each(function(rindex, row) {
                                var eachThread = $(row).find('.lia-link-navigation');
                                
                                        $(eachThread).after(' <img src="image link" border="0" title="State flag">');
        });

        Hope this helps.
        Phani

         

    • vishwajit_shind's avatar
      vishwajit_shind
      Expert
      Hi Grazitti,

      I have informed them regarding the OOB functionality. They are ok with few features. Is there any quilt so that the default communitym images can be called.