Forum Discussion

bhupen's avatar
bhupen
Advisor
10 years ago

Customize Sorting in thread/post

Hi All,

Lithium gave us the functionality to sort the topics inside thread by "Sort oldest to newest" and "Sort  newest to oldest". I want to customize it to sort the topics with same functionality but I don't want to sort first topic in list. Sorting should work on after second topic as earlier it works. Suggest me some helpful steps to accomplish it. Below is the sorting snapshot:

 

sorting.jpg

 

Regards.

  • Solved this by using css. For this we need to set the different attribute for particular classes

  • This is an OOB feature, if your float the thread or multiple threads, it wont sort those sticky threads but all of the threads below it will get sorted.
    • bhupen's avatar
      bhupen
      Advisor

      GrazittiI  thanks for your reply.

      Isn't there a way we can replace the existing code with new one. We just need to edit loop or just make a simple check to stop iterating first topic.

       

      • bhupen's avatar
        bhupen
        Advisor

        Solved this by using css. For this we need to set the different attribute for particular classes