Resource icon

XenForo 2.0 Separate sticky threads from normal ones

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,804
Points
823

Reputation:

LQD submitted a new resource:

Separate sticky threads from normal ones - Separate sticky threads from normal ones

As I was trying to separate normal threads from sticky ones I finally managed to do it and it was very simple. There is no need for template modification whatsoever.

1- Go to template forum_view
2- find this code
Code:
<xf:macro template="thread_list_macros" name="item" arg-thread="{$thread}" arg-forum="{$forum}" />
                           </xf:foreach>
                       </div>
3- Place this code below the above code and hit save.
Code:
<xf:if is="{$stickyThreads}">...

Read more about this resource...
 
Top